PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / FromRU Method / FromRU(Double,UnitTypeEnum) Method
The value to convert, expressed in ResolvedUnit units.
The destination 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 ResolvedUnit units to other UnitTypeEnum units, using CreationDpi resolution if destType is 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 ResolvedUnit units.
    destType
    The destination UnitTypeEnum units to convert to.

    Return Value

    The value converted to destType units.
    See Also