Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.FromPoints |
Function FromPoints(Value As Double) As Double
Member of CorelScriptTools
The FromPoints method converts a numeric value from points to tenths of a micron, which is the basic unit of measurement in Corel applications such as CorelDRAW and Corel VENTURA.
The following VBA example creates a rectangle 210 by 140 points. The rectangles top-left corner coordinate is -140, 210 points relative to the center of the page, and the corners are 1.75 points in diameter.
.CreateRectangle FROMPOINTS(210), FROMPOINTS(-140), FROMPOINTS(90), FROMPOINTS(70), FROMPOINTS(1.75) |
Copyright 2013 Corel Corporation. All rights reserved.