Previous Document Next Document

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


CorelScript.BeginDrawFreehand

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

Description

Member of CorelScript

The BeginDrawFreehand method creates the first point of a freehand segment.

•
 
Additional points are added to the segment by using the CorelScript.AddFreehandPoint method.
•
 
The curve itself is not added until the 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.