Spread Windows Forms 12.0 Product Documentation
PixelsToCharacters Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.IO.OpenXml Namespace > UnitConverter Class : PixelsToCharacters Method
The pixel value to be converted to character widths.
Converts a measurement from pixels to character widths.
Syntax
'Declaration
 
Public Function PixelsToCharacters( _
   ByVal pixel As Integer _
) As Double
'Usage
 
Dim instance As UnitConverter
Dim pixel As Integer
Dim value As Double
 
value = instance.PixelsToCharacters(pixel)
public double PixelsToCharacters( 
   int pixel
)

Parameters

pixel
The pixel value to be converted to character widths.

Return Value

A double value represents the corresponding number of character widths.
See Also

Reference

UnitConverter Class
UnitConverter Members