Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.AddFreehandPoint


CorelScript.AddFreehandPoint

Function AddFreehandPoint(ConvertToDPCoords As Boolean, x As Long, y As Long) As Long

Description

Member of CorelScript

The AddFreehandPoint method adds a point to a freehand curve, as created by using the CorelScript.BeginDrawFreehand method.

 
The segment itself is not added until CorelScript.EndDrawFreehand method is called.

Parameter
Description
ConvertToDPCoords
Specifies how to handle the coordinates. True (-1) converts the coordinates to physical coordinates on the screen; this is the desired behavior unless the coordinates in use are already physical coodinates on the screen.
x
Specifies the x-coordinate of the point, in tenths of a micron and relative to the center of the page
y
Specifies the y-coordinate of the point, in tenths of a micron and relative to the center of the page

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.