Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / UnitConverter Class / PixelsToPts Method
The pixel value to be converted to points.


In This Topic
    PixelsToPts Method
    In This Topic
    Converts a measurement from pixels to points.
    Syntax
    'Declaration
     
    
    Public Shared Function PixelsToPts( _
       ByVal pixel As Integer _
    ) As Double
    'Usage
     
    
    Dim pixel As Integer
    Dim value As Double
     
    value = UnitConverter.PixelsToPts(pixel)
    public static double PixelsToPts( 
       int pixel
    )

    Parameters

    pixel
    The pixel value to be converted to points.

    Return Value

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