PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / FromRU Method / FromRU(Double,UnitTypeEnum) Method
The value to convert, expressed in C1.C1Preview.C1PrintDocument.ResolvedUnit units.
The destination C1.C1Preview.UnitTypeEnum units to convert to.

In This Topic
    FromRU(Double,UnitTypeEnum) Method
    In This Topic
    Converts a double value expressed in the current document's C1.C1Preview.C1PrintDocument.ResolvedUnit units to other C1.C1Preview.UnitTypeEnum units, using C1.C1Preview.C1PrintDocument.CreationDpi resolution if destType is C1.C1Preview.UnitTypeEnum.Pixel.
    Syntax
    'Declaration
     
    Public Overloads Function FromRU( _
       ByVal value As Double, _
       ByVal destType As UnitTypeEnum _
    ) As Double
    public double FromRU( 
       double value,
       UnitTypeEnum destType
    )

    Parameters

    value
    The value to convert, expressed in C1.C1Preview.C1PrintDocument.ResolvedUnit units.
    destType
    The destination C1.C1Preview.UnitTypeEnum units to convert to.

    Return Value

    The value converted to destType units.
    See Also