function Leadtools.Annotations.Core.AnnUnitConverter.convert( value , sourceUnit , destinationUnit )
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!
Parameter | Type | Description |
---|---|---|
value | double | Value to be converted. This is in sourceUnit units. |
sourceUnit | AnnUnit | The source unit. |
destinationUnit | AnnUnit | The destination unit. |
Type | Description |
---|---|
double | The value of value in destinationUnit. |
Use this method to convert from any unit to any other unit, except pixels. For pixels conversions, use the ConvertToPixels and ConvertFromPixels methods. These methods accept the DPI (dots per inch) value to use in the conversion.