Add_Ellipse

Top  Previous  Next

 

Add_Ellipse (Method)

 

This function adds an ellipse into the drawing

 

Syntax:

Function Add_Ellipse(xc1 As Single, yc1 As Single, zc1 As Single, aR As Single, bR As Single, vItemProperties As Object, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short) As Integer

 

The Add_Ellipse method syntax consists of the following:

Parameter

Data Type

Description

xc1

Single

Is the x coordinate of the center of the ellipse

yc1

Single

Is the y coordinate of the center of the ellipse

zc1

Single

Is the z coordinate of the center of the ellipse

aR

Single

Is the ellipse's horizontal radius

bR

Single

Is the ellipse's vertical 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