Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / UnitConverter Class / PixelsToCentimeters Method
The value to be converted to centimeters.


In This Topic
PixelsToCentimeters Method
In This Topic
Converts a measurement from pixels to centimeters (1 point = 1/37.8 cm)
Syntax
'Declaration
 
Public Shared Function PixelsToCentimeters( _
   ByVal value As Double _
) As Double
 
'Usage
 
Dim value As Double
Dim value As Double
 
value = UnitConverter.PixelsToCentimeters(value)

Parameters

value
The value to be converted to centimeters.

Return Value

A double value represents the corresponding centimeters.
See Also