Converts a double value expressed in the current document's ResolvedUnit units to other UnitTypeEnum units, using CreationDpi resolution if destType is Pixel.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public double FromRU(
	double value,
	UnitTypeEnum destType
)
Visual Basic
Public Function FromRU ( _
	value As Double, _
	destType As UnitTypeEnum _
) As Double

Parameters

value
Type: System..::..Double
The value to convert, expressed in ResolvedUnit units.
destType
Type: C1.C1Preview..::..UnitTypeEnum
The destination UnitTypeEnum units to convert to.

Return Value

The value converted to destType units.

See Also