Spread Windows Forms 12.0 Product Documentation
PixelsToPoints Method


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

Parameters

pixel
The pixel value to be converted to points.

Return Value

A double value represents the corresponding number of points.
See Also

Reference

UnitConverter Class
UnitConverter Members