Add_PolyLine

Top  Previous  Next

 

Add_PolyLine (Method)

 

This function 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

Is a string array with properties for the new object

iClr

Short

Is the color index number

iWidth

Short

Is the pen width

iStyle

Short

Is the line type

iLayer

Short

Is the layer number

 

Return value:

Integer - An Avax handle on success, zero on error.

 

Example