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


IMapControl3.Extent Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl3 Interface > IMapControl3.Extent Property
ArcGIS Developer Help

IMapControl3.Extent Property

Current extent of the Map in map units.

[Visual Basic .NET]
Public Property Extent As IEnvelope
[C#]
public IEnvelope Extent {get; set;}
[C++]
HRESULT get_Extent(
void
);
[C++]
HRESULT put_Extent(
);

Product Availability

Available with ArcGIS Engine.

Description

Returns or sets a new envelope which is represents the visible extent of the Map. Setting the Extent property will automatically cause the MapControl to refresh its display.

See Also

IMapControl3 Interface

.NET Samples

ArcGIS Network Analyst extension Engine application