Add_Point

Top  Previous  Next

 

Add_Point (Method)

 

This function adds a point into the drawing

 

Syntax:

Function Add_Point(x1 As Single, y1 As Single, z1 As Single, vItemProperties As Object, iClr As Short, iWidth As Short, iPointStyle As Short, iLayer As Short) As Integer

 

The Add_Point method syntax consists of the following:

Parameter

Data Type

Description

x1

Single

Is the x coordinate of the point

y1

Single

Is the y coordinate of the point

z1

Single

Is the z coordinate of the 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

iPointStyle

Short

Is the point type

iLayer

Short

Is the layer number

 

Return value:

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

 

Example