GetBoundsDrawing example
Example for GetBoundsDrawing 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 txt As String
If cAvax1.GetBoundsDrawing(xMin, yMin, zMin, xMax, yMax, zMax) = True Then
txt = "Xmin =" & Str(xMin) & vbCr & vbLf
txt = txt & "Xmax =" & Str(xMax) & vbCr & vbLf
txt = txt & "Ymin =" & Str(yMin) & vbCr & vbLf
txt = txt & "Ymax =" & Str(yMax) & vbCr & vbLf
Text1.Text = txt
End If
End Sub