Converts a RectangleD 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 RectangleD FromRU(
	RectangleD value,
	UnitTypeEnum destType
)
Visual Basic
Public Function FromRU ( _
	value As RectangleD, _
	destType As UnitTypeEnum _
) As RectangleD

Parameters

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

Return Value

A RectangleD structure converted to target units.

See Also