PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / FromRU Method / FromRU(Double,UnitTypeEnum,Single) Method
The value to convert, expressed in C1.C1Preview.C1PrintDocument.ResolvedUnit units.
The destination C1.C1Preview.UnitTypeEnum units to convert to.
The destination resolution (DPI), required only if destType is C1.C1Preview.UnitTypeEnum.Pixel.

In This Topic
    FromRU(Double,UnitTypeEnum,Single) 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.
    Syntax
    'Declaration
     
    Public Overloads Function FromRU( _
       ByVal value As Double, _
       ByVal destType As UnitTypeEnum, _
       ByVal destDpi As Single _
    ) As Double
    public double FromRU( 
       double value,
       UnitTypeEnum destType,
       float destDpi
    )

    Parameters

    value
    The value to convert, expressed in C1.C1Preview.C1PrintDocument.ResolvedUnit units.
    destType
    The destination C1.C1Preview.UnitTypeEnum units to convert to.
    destDpi
    The destination resolution (DPI), required only if destType is C1.C1Preview.UnitTypeEnum.Pixel.

    Return Value

    The converted value.
    See Also