Previous Document Next Document
CorelScriptTools.ToPoints

Function ToPoints(Value As Double) As Double

Member of CorelScriptTools

The ToPoints method converts a numeric value from tenths of a micron to points.

Parameter
Description
Value
Specifies the value to be converted

In the following CorelDRAW example, xPoint and yPoint are set to the x- and y-coordinates of the selected object in points.

.GetPosition (x,y) 
xPoint = TOPOINTS (x) 
yPoint = TOPOINTS (y) 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.