Converts a RectangleD structure expressed in specified UnitTypeEnum units to a RectangleD expressed in the current document's ResolvedUnit units.

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

Syntax

C#
public RectangleD ToRU(
	RectangleD value,
	UnitTypeEnum srcType,
	float srcDpiX,
	float srcDpiY
)
Visual Basic
Public Function ToRU ( _
	value As RectangleD, _
	srcType As UnitTypeEnum, _
	srcDpiX As Single, _
	srcDpiY As Single _
) As RectangleD

Parameters

value
Type: C1.C1Preview..::..RectangleD
The source value to convert.
srcType
Type: C1.C1Preview..::..UnitTypeEnum
The unit of measurement used to express the source value.
srcDpiX
Type: System..::..Single
The horizontal source resolution (DPI) (used if srcType is Pixel).
srcDpiY
Type: System..::..Single
The vertical source resolution (DPI) (used if srcType is Pixel).

Return Value

The RectangleD expressed in ResolvedUnit units.

See Also