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


In This Topic
    PixelsToCentimeters Method
    In This Topic
    Converts a measurement from pixels to centimeters (1 point = 1/37.8 cm)
    Syntax
    'Declaration
     
    
    Public Shared Function PixelsToCentimeters( _
       ByVal value As Double _
    ) As Double
    'Usage
     
    
    Dim value As Double
    Dim value As Double
     
    value = UnitConverter.PixelsToCentimeters(value)
    public static double PixelsToCentimeters( 
       double value
    )

    Parameters

    value
    The value to be converted to centimeters.

    Return Value

    A double value represents the corresponding centimeters.
    See Also