Add_OBSpline

Top  Previous  Next

 

Add_OBSpline (Method)

 

This function adds a B-Spline curve with an open vector node by a specific polygonal base guide with continous apexes

 

Syntax:

Function Add_OBSpline(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_OBSpline method syntax consists of the following:

Parameter

Data Type

Description

x1()

Single

An array for the x coordinates of the polygon

y1()

Single

An array for the y coordinates of the polygon

z1()

Single

An array for the z coordinates of the polygon

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