MapWinGIS:AxMap ZoomToPrev
From MapWindow GIS
ZoomToPrev
Zooms the map view to the previous extents if there are previous extents in the extents history.
VB.NET Usage
Function ZoomToPrev() As Integer
Parameters
|
ReturnValue | Returns the number of extents left in the extents history after zooming to previous extents. |
Sample Code
Private Sub ZoomPrevious()
Dim history As Integer
'Set map view to previous zoom extents, storing the number of previous extents remaining
history = Map1.ZoomToPrev
End Sub
VB 6 Usage
Function ZoomToPrev() As Long
Parameters
|
ReturnValue | Returns the number of extents left in the extents history after zooming to previous extents. |
Sample Code
Private Sub mnuEditZoomPrevious_Click()
Dim history As Long
'Set map view to previous zoom extents, storing the number of previous extents remaining
history = Map1.ZoomToPrev
End Sub
















