Add_Circle

Top  Previous  Next

 

Add_Circle (Method)

 

This function adds a circle into the drawing

 

Syntax:

Function Add_Circle(xc1 As Single, yc1 As Single, zc1 As Single, R As Single, vItemProperties As Object, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short) As Integer

 

The Add_Circle method syntax consists of the following:

Parameter

Data Type

Description

xc1

Single

Is the x coordinate of the circle's center

yc1

Single

Is the y coordinate of the circle's center

zc1

Single

Is the z coordinate of the circle's center

R

Single

Is the circle's radius

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