API Documentation > CorelDRAW > 2025-v26 > CorelScriptTools > ICorelScriptTools
CorelScriptTools.ToPoints method
To Points
Syntax:
Function ToPoints(ByVal Value As Double) As Double
Parameters:
Name Type Description
Value
Double
Remarks:
The ToPoints method converts a numeric value from tenths of a micron to points.
Examples:
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)