Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / FromRU Method / FromRU(RectangleD,UnitTypeEnum) Method
The value to convert, expressed in ResolvedUnit units.
The destination UnitTypeEnum units to convert to.

In This Topic
    FromRU(RectangleD,UnitTypeEnum) Method
    In This Topic
    Converts a RectangleD 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 RectangleD, _
       ByVal destType As UnitTypeEnum _
    ) As RectangleD
    public RectangleD FromRU( 
       RectangleD value,
       UnitTypeEnum destType
    )

    Parameters

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

    Return Value

    A RectangleD structure converted to target units.
    See Also