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


In This Topic
    PixelsToPoints Method
    In This Topic
    Converts a measurement from pixels to points.
    Syntax
    'Declaration
     
    
    Public Function PixelsToPoints( _
       ByVal pixel As Integer _
    ) As Double
    'Usage
     
    
    Dim instance As UnitConverter
    Dim pixel As Integer
    Dim value As Double
     
    value = instance.PixelsToPoints(pixel)
    public double PixelsToPoints( 
       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