Transforms (scales) a Region object expressed in the current document's ResolvedUnit units so that it uses other UnitTypeEnum units.

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

Syntax

C#
public void FromRU(
	Region region,
	UnitTypeEnum destType,
	float destDpiX,
	float destDpiY
)
Visual Basic
Public Sub FromRU ( _
	region As Region, _
	destType As UnitTypeEnum, _
	destDpiX As Single, _
	destDpiY As Single _
)

Parameters

region
Type: System.Drawing..::..Region
The Region to scale.
destType
Type: C1.C1Preview..::..UnitTypeEnum
The destination units to use.
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.

See Also