DestroyDrawing example
Example for DestroyDrawing method
Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
Command1.Text = "DestroyDrawing"
cAvax1.StartAvax()
Call cAvax1.Add_Line(0, 0, 0, 15, 15, 0)
Call cAvax1.Add_Line(0, 15, 0, 15, 15, 0)
Call cAvax1.Add_Line(15, 15, 0, 15, 0, 0)
Call cAvax1.Add_Line(0, 15, 0, 15, 0, 0)
Call cAvax1.Add_Line(0, 0, 0, 15, 0, 0)
Call cAvax1.Add_Line(0, 0, 0, 0, 15, 0)
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 fRedraw As Boolean
Dim Answer As Boolean
fRedraw = True
Answer = cAvax1.DestroyDrawing(fRedraw)
End Sub