|
Add_BlockLines (Method)
This function adds straight line segments not necessarly continous
Syntax:
Function Add_BlockLines(x1() As Single, y1() As Single, z1() As Single, x2() As Single, y2() As Single, z2() As Single, vItemProperties As Object, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short) As Integer
The Add_BlockLines method syntax consists of the following:
Parameter
|
Data Type
|
Description
|
x1()
|
Single
|
An array for the x coordinates of the lines start point
|
y1()
|
Single
|
An array for the y coordinates of the lines start point
|
z1()
|
Single
|
An array for the z coordinates of the lines start point
|
x2()
|
Single
|
An array for the x coordinates of the lines end point
|
y2()
|
Single
|
An array for the y coordinates of the lines end point
|
z2()
|
Single
|
An array for the z coordinates of the lines end point
|
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
|