Add_ShapePolyLine
MethodAdd_ShapePolyLine (Method)
Adds a polyline. The difference from add_Polyline is that this polyline has z order
Syntax:
Function Add_ShapePolyLine(xV() As Single, yV() As Single, zV() As Single, vItemProperties As Object, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short, Fill_zOrder As Integer, PolylineType As AvaxPolylineType) As Integer
The Add_ShapePolyLine method syntax consists of the following:
Parameter |
Data Type |
Description |
xV() |
Single |
An array for the x coordinates of the poline's apexes |
yV() |
Single |
An array for the y coordinates of the poline's apexes |
zV() |
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 |
Fill_zOrder |
Integer |
The object's elevation in the whole drawing |
PolylineType |
An expression that defines the AvaxPolylineType |
Return value:
Integer - An Avax handle on success, zero on error.
Remarks:
Use the returned string as line type data for Avax line style definitions.