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


IARMap.ZoomToFullExtent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface > IARMap.ZoomToFullExtent Method
ArcGIS Developer Help

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