Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.FromPicas |
Function FromPicas(Value As Double) As Double
Member of CorelScriptTools
The FromPicas method converts a numeric value from picas 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 18 by 10 picas. The rectangles top-left coordinate is -12, 18 picas relative to the center of the page, and the corners are 2 picas in diameter.
.CreateRectangle FROMPICAS(18), FROMPICAS(-12), FROMPICAS(8), FROMPICAS(6), FROMPICAS(2) |
Copyright 2013 Corel Corporation. All rights reserved.