Draw_Line example
Example for Draw_Line 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 x1 As Single
Dim y1 As Single
Dim x2 As Single
Dim y2 As Single
Dim iClr As Short
Dim iWidth As Short
Dim iStyle As Short
x1 = 0
y1 = 0
x2 = 12
y2 = 12
iClr = 1
iWidth = 1
iStyle = 1
Call cAvax1.Draw_Line(x1, y1, x2, y2, iClr, iWidth, iStyle)
End Sub