Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / UnitConverter Class / PixelsToInches Method
The value to be converted to inches.


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

    Parameters

    value
    The value to be converted to inches.

    Return Value

    A double value represents the corresponding inches.
    See Also