Previous Document Next Document

Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.FromPoints


CorelScriptTools.FromPoints

Function FromPoints(Value As Double) As Double

Description

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.

Parameter
Description
Value
Specifies the value to be converted

Example

The following VBA example creates a rectangle 210 by 140 points. The rectangle’s 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)

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.