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


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

    Parameters

    point
    The point value to be converted to pixels.

    Return Value

    A integer value represents the corresponding number of pixels.
    See Also