Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.ToPoints |
Function ToPoints(Value As Double) As Double
Member of CorelScriptTools
The ToPoints method converts a numeric value from tenths of a micron to points.
In the following CorelDRAW example, xPoint and yPoint are set to the x- and y-coordinates of the selected object in points.
.GetPosition (x,y) |
xPoint = TOPOINTS (x) |
yPoint = TOPOINTS (y) |
Copyright 2013 Corel Corporation. All rights reserved.