Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / FromRU Method / FromRU(OffsetsD,UnitTypeEnum,Single,Single) Method
The value to convert, expressed in ResolvedUnit units.
The destination UnitTypeEnum units to convert to.
The horizontal destination resolution (DPI), required only if destType is UnitTypeEnum.Pixel.
The vertical destination resolution (DPI), required only if destType is UnitTypeEnum.Pixel.

In This Topic
    FromRU(OffsetsD,UnitTypeEnum,Single,Single) Method
    In This Topic
    Converts a OffsetsD value expressed in the current document's ResolvedUnit units to other UnitTypeEnum units.
    Syntax
    'Declaration
     
    Public Overloads Function FromRU( _
       ByVal value As OffsetsD, _
       ByVal destType As UnitTypeEnum, _
       ByVal destDpiX As Single, _
       ByVal destDpiY As Single _
    ) As OffsetsD
    public OffsetsD FromRU( 
       OffsetsD value,
       UnitTypeEnum destType,
       float destDpiX,
       float destDpiY
    )

    Parameters

    value
    The value to convert, expressed in ResolvedUnit units.
    destType
    The destination UnitTypeEnum units to convert to.
    destDpiX
    The horizontal destination resolution (DPI), required only if destType is UnitTypeEnum.Pixel.
    destDpiY
    The vertical destination resolution (DPI), required only if destType is UnitTypeEnum.Pixel.

    Return Value

    A OffsetsD structure converted to target units.
    See Also