Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.FromDidots |
Function FromDidots(Value As Double) As Double
Member of CorelScriptTools
The FromDidots method converts a numeric value from didots 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 100 by 50 didots. The rectangles top-left coordinate is -70, 50 didots relative to the center of the page, and the corners are 20 didots in diameter.
.CreateRectangle FROMDIDOTS(50), FROMDIDOTS(-70), FROMDIDOTS(0), FROMDIDOTS(30), FROMDIDOTS(20) |
Copyright 2013 Corel Corporation. All rights reserved.