This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface > IARMap.ZoomToFullExtent Method (ArcObjects .NET 10.5 SDK) |
Zoom to the full extent of all data within the map.
[Visual Basic .NET]
Public Sub ZoomToFullExtent ( _
)
[C#] public void ZoomToFullExtent ( );
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.
IARMap Interface | IARMap.SetExtent Method | IARMap.GetExtent Method | IARMap.GetFullExtent Method