Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.LengthConvert |
Function LengthConvert(FromUnit As Long, ToUnit As Long, Value As Double) As Double
Member of CorelScriptTools
The LengthConvert method converts a number from one length measurement to another.
• |
Tenths of a micron is the basic unit of measurement in Corel applications such
as CorelDRAW and Corel VENTURA.
|
The following VBA example converts one inch to tenths of a micron. The variable x_microns equals 254,000.
x_microns = LENGTHCONVERT(1, 7, 1) |
Copyright 2013 Corel Corporation. All rights reserved.