FlexReport for WinForms | ComponentOne
C1.Win.C1Document.4.8 Assembly / C1.Win.C1Document Namespace / Utils Class / ToTwips Method
The value in twips.
The dpi which should be used.

In This Topic
    ToTwips Method (Utils)
    In This Topic
    Converts value in pixels to the value in twips.
    Syntax
    'Declaration
     
    Public Shared Function ToTwips( _
       ByVal valuePixels As Double, _
       ByVal dpi As Double _
    ) As Double
    public static double ToTwips( 
       double valuePixels,
       double dpi
    )

    Parameters

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

    Return Value

    The value in twips.
    See Also