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

Parameters

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

Return Value

A OffsetsD structure converted to target units.

See Also