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


In This Topic
    PixelsToEmus Method
    In This Topic
    Converts a measurement from pixels to EMUs (English Metric Unit).
    Syntax
    'Declaration
     
    
    Public Function PixelsToEmus( _
       ByVal pixels As Double _
    ) As Long
    'Usage
     
    
    Dim instance As UnitConverter
    Dim pixels As Double
    Dim value As Long
     
    value = instance.PixelsToEmus(pixels)
    public long PixelsToEmus( 
       double pixels
    )

    Parameters

    pixels
    The pixel value to be converted to character widths.

    Return Value

    A long value represents the corresponding number of EMUs.
    See Also