Add_Circle example
Example for Add_Circle method
Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
cAvax1.StartAvax()
End Sub
Private Sub Form1_FormClosed(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
cAvax1.EndAvax()
End Sub
Private Sub Command1_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command1.Click
Dim xc1 As Single
Dim yc1 As Single
Dim zc1 As Single
Dim r As Single
Dim vItemProperties As Object
Dim iClr As Short
Dim iWidth As Short
Dim iStyle As Short
Dim iLayer As Short
Dim Answer As Integer
'Define the Center of the Circle
xc1 = 8 : yc1 = 6 : zc1 = 0
'Define the radius
r = 10
'Finally, define the drawing color and the drawind width
iClr = 5
iWidth = 1
iStyle = 1
Answer = cAvax1.Add_Circle(xc1, yc1, zc1, r, vItemProperties, iClr, iWidth, iStyle, iLayer)
End Sub