MapWinGIS:AxMap ZoomToPrev

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

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


Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:AxMap_ZoomToPrev"

This page has been accessed 1,973 times. This page was last modified on 9 November 2005, at 18:30.