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


In This Topic
    PixelsToEmusFP Method
    In This Topic
    Converts a measurement from pixels to EMUs (English Metric Unit) with floating point.
    Syntax
    'Declaration
     
    
    Public Function PixelsToEmusFP( _
       ByVal pixels As Double _
    ) As Double
    'Usage
     
    
    Dim instance As UnitConverter
    Dim pixels As Double
    Dim value As Double
     
    value = instance.PixelsToEmusFP(pixels)
    public double PixelsToEmusFP( 
       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