Add_PolyLine
MethodAdd_PolyLine (Method)
Adds a polyline into the drawing
Syntax:
Function Add_PolyLine(x1() As Single, y1() As Single, z1() As Single, vItemProperties As Object, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short) As Integer
The Add_PolyLine method syntax consists of the following:
Parameter |
Data Type |
Description |
x1() |
Single |
An array for the x coordinates of the poline's apexes |
y1() |
Single |
An array for the y coordinates of the poline's apexes |
z1() |
Single |
An array for the z coordinates of the poline's apexes |
vItemProperties |
Object |
A string array of properties for the new object |
iClr |
Short |
The color index number |
iWidth |
Short |
The pen width |
iStyle |
Short |
The line type |
iLayer |
Short |
The layer number |
Return value:
Integer - An Avax handle on success, zero on error.