DestroyZoomView Example for Visual Basic
Dim nCount As Integer
Dim i As Integer
If (LEADRasterView1.HasZoomView) Then
nCount = LEADRasterView1.ZoomViewsCount
For i = nCount - 1 To 0 Step -1
LEADRasterView1.DestroyZoomView i
Next i
End If