[]
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)
| 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)
| 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)
| 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)
| 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. |