FlexReport for UWP | ComponentOne
C1.UWP.Document Assembly / C1.Xaml.Document Namespace / Utils Class / ToTwips Method
The value in twips.
The dpi which should be used.

In This Topic
    ToTwips Method
    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