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.SetExtent Method (ArcObjects .NET 10.5 SDK) |
Sets the visible extent of the map.
[Visual Basic .NET] Public Sub SetExtent ( _ ByVal xMin As Double, _ ByVal yMin As Double, _ ByVal xMax As Double, _ ByVal yMax As Double _ )
[C#] public void SetExtent ( double xMin, double yMin, double xMax, double yMax );
Sets the xmin, ymin, xmax and ymax coordinates of the ARMap's current visible extent in MapUnits. The SetExtent method automatically refreshes the ARMap's display area.
IARMap Interface | IARMap.GetExtent Method | IARMap.GetFullExtent Method | IARMap.ZoomToFullExtent Method