Converts a RectangleD 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 RectangleD FromRU(
	RectangleD value,
	UnitTypeEnum destType,
	float destDpiX,
	float destDpiY
)
Visual Basic
Public Function FromRU ( _
	value As RectangleD, _
	destType As UnitTypeEnum, _
	destDpiX As Single, _
	destDpiY As Single _
) 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.
destDpiX
Type: System..::..Single
The horizontal destination resolution (DPI), required only if destType is Pixel.
destDpiY
Type: System..::..Single
The vertical destination resolution (DPI), required only if destType is Pixel.

Return Value

A RectangleD structure converted to target units.

See Also