ToRU(Double,UnitTypeEnum) Method
In This Topic
Converts a
double value expressed in specified
C1.C1Preview.UnitTypeEnum units to a
double value expressed in the current document's
C1.C1Preview.C1PrintDocument.ResolvedUnit units, using
C1.C1Preview.C1PrintDocument.CreationDpi as the source resolution if is
C1.C1Preview.UnitTypeEnum.Pixel.
Syntax
'Declaration
Public Overloads Function ToRU( _
ByVal As Double, _
ByVal As UnitTypeEnum _
) As Double
public double ToRU(
double ,
UnitTypeEnum
)
Parameters
- value
- The source value to convert.
- srcType
- The unit of measurement used to express the source . If equal to C1.C1Preview.UnitTypeEnum.Pixel, the current document's C1.C1Preview.C1PrintDocument.CreationDpi is used as the source resolution (DPI).
Return Value
See Also