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


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

    Parameters

    value
    The value to be converted to pixels.

    Return Value

    A double value represents the corresponding pixels.
    See Also