Add_ShapePoint

Top  Previous  Next

 

Add_ShapePoint (Method)

 

This function adds a point. The difference from add_Point is that this point has z order

 

Syntax:

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

 

The Add_ShapePoint 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

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

Fill_zOrder

Integer

Is the object's elevation in the whole drawing

 

Return value:

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

 

Remarks:

For more details for the fill parameters see the example ShapeFill.vbp

 

Example