|
Add_CurveArc (Method)
Use this method if you want to add a curved arc into the drawing
Syntax:
Function Add_CurveArc(xStart As Single, yStart As Single, zStart As Single, xEnd As Single, yEnd As Single, zEnd 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_CurveArc method syntax consists of the following:
Parameter
|
Data Type
|
Description
|
xStart
|
Single
|
Is the x coordinate of the first point of the arc
|
yStart
|
Single
|
Is the y coordinate of the first point of the arc
|
zStart
|
Single
|
Is the z coordinate of the first point of the arc
|
xEnd
|
Single
|
Is the x coordinate of the second point of the arc
|
yEnd
|
Single
|
Is the y coordinate of the second point of the arc
|
zEnd
|
Single
|
Is the z coordinate of the second point of the arc
|
xc
|
Single
|
Is the x coordinate of the point to the center of the arc
|
yc
|
Single
|
Is the y coordinate of the point to the center of the arc
|
zc
|
Single
|
Is the z coordinate of the point to the center of the arc
|
vItemProperties
|
Object
|
Is a string array with properties for the new objects
|
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
|