function Leadtools.Annotations.Core.AnnUnitConverter.convertToPixels( value , sourceUnit , dpi )
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!
Parameter | Type | Description |
---|---|---|
value | double | A value to be converted. This is in sourceUnit units. |
sourceUnit | AnnUnit | The Source 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 pixels. |
Use this method to convert a value from any unit to pixels. For pixels conversions, a DPI (dots per inch) value is required.