GetBoundsAvax example
Example for GetBoundsAvax 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 xMin As Single
Dim yMin As Single
Dim zMin As Single
Dim xMax As Single
Dim yMax As Single
Dim zMax As Single
Dim Answer As Boolean
Dim txt As String
Answer = cAvax1.GetBoundsAvax(xMin, yMin, zMin, xMax, yMax, zMax)
txt = "Xmin =" & Str(xMin) & vbCrLf
txt = txt & "Xmax =" & Str(xMax) & vbCrLf
txt = txt & "Ymin =" & Str(yMin) & vbCrLf
txt = txt & "Ymax =" & Str(yMax) & vbCrLf
Text1.Text = txt
End Sub