FlexReport for .NET | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document 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