PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / FromRU Method / FromRU(OffsetsD,UnitTypeEnum) Method
The value to convert, expressed in C1PrintDocument.ResolvedUnit units.
The destination UnitTypeEnum units to convert to.

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

    Parameters

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

    Return Value

    A OffsetsD structure converted to target units.
    See Also