Spread Windows Forms 12.0 Product Documentation
PixelsToEmus Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.IO.OpenXml Namespace > UnitConverter Class : PixelsToEmus Method
Converts a measurement from pixels to EMUs (English Metric Unit).
Syntax
'Declaration
 
Public Function PixelsToEmus( _
   ByVal pixels As Single _
) As Long
'Usage
 
Dim instance As UnitConverter
Dim pixels As Single
Dim value As Long
 
value = instance.PixelsToEmus(pixels)
public long PixelsToEmus( 
   float pixels
)

Parameters

pixels

Return Value

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

Reference

UnitConverter Class
UnitConverter Members