MapWinGIS:AxMap ZoomToMaxExtents

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

ZoomToMaxExtents

Zooms the map to the maximum extents of all loaded layers. (Note: Layers which are not visible are still used to compute maximum extents.)


VB.NET Usage

Sub ZoomToMaxExtents()

            Parameters

None

Sample Code

    Private Sub ZoomToMaxExtents()
        'Zoom map view to the maximum extents of all layers(whether they are visible or not)
        Map1.ZoomToMaxExtents()
    End Sub
  

VB 6 Usage
Sub ZoomToMaxExtents()
            Parameters

None

Sample Code

    Private Sub ZoomToMaxExtents()
        'Zoom map view to the maximum extents of all layers(whether they are visible or not)
        Map1.ZoomToMaxExtents
    End Sub

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

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