4D Chart v13

CT Draw line

Home

 
4D Chart v13
CT Draw line

CT Draw line 


 

CT Draw line ( area ; left ; top ; right ; bottom ; arrowhead ) -> Function result 
Parameter Type   Description
area  Longint in 4D Chart area
left  Real in Horizontal position of start (in points)
top  Real in Vertical position of start (in points)
right  Real in Horizontal position of end (in points)
bottom  Real in Vertical position of end (in points)
arrowhead  Integer in Arrow location code (see table)
Function result  Longint in The new object's Object ID

CT Draw line creates a new line object in area and returns the new object’s Object ID. The object is positioned according to the left, top, right, and bottom coordinates.

The following are the codes for the arrowhead parameter:

CodeLocation
-1Use default
0None
1At start
2At end
3Both ends

Example  

The following method draws a line with arrowheads in the chart area:

 $Line:=CT Draw line(Area;10;10;50;50;3)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Objects
Number: 14558

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1