Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / UnitConverter Class / PixelsToPoints Method / PixelsToPoints(Double,Int32) Method
The pixel value to be converted to points.
The number of fractional digits in the return value.


In This Topic
    PixelsToPoints(Double,Int32) Method
    In This Topic
    Converts a measurement from pixels to points.
    Syntax
    'Declaration
     
    
    Public Overloads Function PixelsToPoints( _
       ByVal pixel As Double, _
       ByVal roundingDigits As Integer _
    ) As Double
    'Usage
     
    
    Dim instance As UnitConverter
    Dim pixel As Double
    Dim roundingDigits As Integer
    Dim value As Double
     
    value = instance.PixelsToPoints(pixel, roundingDigits)
    public double PixelsToPoints( 
       double pixel,
       int roundingDigits
    )

    Parameters

    pixel
    The pixel value to be converted to points.
    roundingDigits
    The number of fractional digits in the return value.

    Return Value

    A double value represents the corresponding number of points.
    See Also