Converts a double value expressed in the current document's ResolvedUnit units to other UnitTypeEnum units.

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

Syntax

C#
public double FromRU(
	double value,
	UnitTypeEnum destType,
	float destDpi
)
Visual Basic
Public Function FromRU ( _
	value As Double, _
	destType As UnitTypeEnum, _
	destDpi As Single _
) 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.
destDpi
Type: System..::..Single
The destination resolution (DPI), required only if destType is Pixel.

Return Value

The converted value.

See Also