Add_CurveArc example
Example for Add_CurveArc method
Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
Call cAvax1.StartAvax()
End Sub
Private Sub Form1_FormClosed(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
Call cAvax1.EndAvax()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim xStart As Single
Dim yStart As Single
Dim zStart As Single
Dim xEnd As Single
Dim yEnd As Single
Dim zEnd As Single
Dim xc As Single
Dim yc As Single
Dim zc 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
xStart = 10
yStart = 10
zStart = 0
xEnd = 40
yEnd = 40
zEnd = 0
xc = 20
yc = 30
zc = 0
Answer = CAvax1.Add_CurveArc(xStart, yStart, zStart, xEnd, yEnd, zEnd, xc, yc, zc, vItemProperties, iClr, iWidth, iStyle, iLayer)
CAvax1.Command = Avax.AvaxCommand.AutoLimits_c
End Sub