API Documentation > CorelDRAW > 2025-v26 > CorelScriptTools > ICorelScriptTools
CorelScriptTools.FromPicas method
From Picas
Syntax:
Function FromPicas(ByVal Value As Double) As Double
Parameters:
Name Type Description
Value
Double
Remarks:
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.
Examples:
The following VBA example creates a rectangle 18 by 10 picas in CorelDRAW. The rectangle's 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)