Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.AngleConvert |
Function AngleConvert(FromUnit As Long, ToUnit As Long, Value As Double) As Double
Member of CorelScriptTools
The AngleConvert method converts a number from one angle measurement to another.
The following VBA example converts 90 degrees to radians, where the variable x_rads equals 1.57142857142932.
x_rads = ANGLECONVERT(1, 2, 90) |
Copyright 2013 Corel Corporation. All rights reserved.