This document is archived and information here might be outdated.  Recommended version.


IARMap.ZoomToFullExtent Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (PublisherControls)  

IARMap.ZoomToFullExtent Method

Zoom to the full extent of all data within the map.

[Visual Basic .NET]
Public Sub ZoomToFullExtent ( _
)
[C#]
public void ZoomToFullExtent (
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Changes the ARMap's viewing extent to show the full extent of all data layers, causing the MapScale property to change. The ZoomToFullExtent method automatically refreshes the ARMap display area.

See Also

IARMap Interface | IARMap.SetExtent Method | IARMap.GetExtent Method | IARMap.GetFullExtent Method