ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / FromRU Method / FromRU(Double,UnitTypeEnum,Single) Method
The value to convert, expressed in ResolvedUnit units.
The destination UnitTypeEnum units to convert to.
The destination resolution (DPI), required only if destType is UnitTypeEnum.Pixel.

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

    Parameters

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

    Return Value

    The converted value.
    See Also