Add_Arc
MethodAdd_Arc (Method)
Adds an arc into the drawing
Syntax:
Function Add_Arc(x1 As Single, y1 As Single, z1 As Single, x2 As Single, y2 As Single, z2 As Single, xc As Single, yc As Single, zc As Single, vItemProperties As Object, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short) As Integer
The Add_Arc method syntax consists of the following:
Parameter |
Data Type |
Description |
x1 |
Single |
Is x coordinate of the arc's start point |
y1 |
Single |
Is y coordinate of the arc's start point |
z1 |
Single |
Is z coordinate of the arc's start point |
x2 |
Single |
Is x coordinate of the arc's end point |
y2 |
Single |
Is y coordinate of the arc's end point |
z2 |
Single |
Is z coordinate of the arc's end point |
xc |
Single |
Is x coordinate of the arc's circle center |
yc |
Single |
Is y coordinate of the arc's circle center |
zc |
Single |
Is z coordinate of the arc's circle center |
vItemProperties |
Object |
A string array of properties for the new object |
iClr |
Short |
The color index number |
iWidth |
Short |
The pen width |
iStyle |
Short |
The line type |
iLayer |
Short |
The layer number |
Return value:
Integer - An Avax handle on success, zero on error.