[]
Converts a double value expressed in specified UnitTypeEnum units to a double value expressed in the current document's ResolvedUnit units.
public double ToRU(double value, UnitTypeEnum srcType, float srcDpi)
Public Function ToRU(value As Double, srcType As UnitTypeEnum, srcDpi As Single) As Double
| Type | Name | Description |
|---|---|---|
| double | value | The source value to convert. |
| UnitTypeEnum | srcType | The unit of measurement used to express the source |
| float | srcDpi | The source resolution (DPI) (used if |
| Type | Description |
|---|---|
| double | The double value expressed in ResolvedUnit units. |
Converts a RectangleD structure expressed in specified UnitTypeEnum units to a RectangleD expressed in the current document's ResolvedUnit units.
public RectangleD ToRU(RectangleD value, UnitTypeEnum srcType, float srcDpiX, float srcDpiY)
Public Function ToRU(value As RectangleD, srcType As UnitTypeEnum, srcDpiX As Single, srcDpiY As Single) As RectangleD
| Type | Name | Description |
|---|---|---|
| RectangleD | value | The source value to convert. |
| UnitTypeEnum | srcType | The unit of measurement used to express the source |
| float | srcDpiX | The horizontal source resolution (DPI) (used if |
| float | srcDpiY | The vertical source resolution (DPI) (used if |
| Type | Description |
|---|---|
| RectangleD | The RectangleD expressed in ResolvedUnit units. |
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.
public double ToRU(double value, UnitTypeEnum srcType)
Public Function ToRU(value As Double, srcType As UnitTypeEnum) As Double
| Type | Name | Description |
|---|---|---|
| double | value | The source value to convert. |
| UnitTypeEnum | srcType | The unit of measurement used to express the source |
| Type | Description |
|---|---|
| double | The double value expressed in ResolvedUnit units. |
Converts a RectangleD structure expressed in specified UnitTypeEnum units
to a RectangleD expressed in the current document's ResolvedUnit units,
using CreationDpi as the source resolution if srcType is Pixel.
public RectangleD ToRU(RectangleD value, UnitTypeEnum srcType)
Public Function ToRU(value As RectangleD, srcType As UnitTypeEnum) As RectangleD
| Type | Name | Description |
|---|---|---|
| RectangleD | value | The source value to convert. |
| UnitTypeEnum | srcType | The unit of measurement used to express the source |
| Type | Description |
|---|---|
| RectangleD | The RectangleD expressed in ResolvedUnit units. |