function Leadtools.Annotations.Core.AnnUnitConverter.convertFromPixels( value , destinationUnit , dpi )
| Parameter | Type | Description |
|---|---|---|
| value | double | A value to convert in pixels. |
| destinationUnit | AnnUnit | The destination unit. |
| dpi | double | The DPI (dots per inch) to use. This value must be greater than 0; otherwise, the default value of 96 will be used. |
| Type | Description |
|---|---|
| double | The value of value in destinationUnit. |
Use this method to convert a pixels value to any unit. For pixels conversions, a DPI (dots per inch) value is required.