ComponentOne FlexReport for WinForms
ToTwips Method

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace > Utils Class : ToTwips Method
The value in twips.
The dpi which should be used.
Converts value in pixels to the value in twips.
Syntax
'Declaration
 
Public Shared Function ToTwips( _
   ByVal valuePixels As System.Double, _
   ByVal dpi As System.Double _
) As System.Double
public static System.double ToTwips( 
   System.double valuePixels,
   System.double dpi
)

Parameters

valuePixels
The value in twips.
dpi
The dpi which should be used.

Return Value

The value in twips.
See Also

Reference

Utils Class
Utils Members