Converts a double value expressed in specified UnitTypeEnum units
to a double value expressed in the current document's ResolvedUnit units,
using CreationDpi as the source resolution if srcType is Pixel.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public double ToRU( double value, UnitTypeEnum srcType ) |
Visual Basic |
---|
Public Function ToRU ( _ value As Double, _ srcType As UnitTypeEnum _ ) As Double |
Parameters
- value
- Type: System..::..Double
The source value to convert.
- srcType
- Type: C1.C1Preview..::..UnitTypeEnum
The unit of measurement used to express the source value. If equal to Pixel, the current document's CreationDpi is used as the source resolution (DPI).