ArcObjects Library Reference (Controls)  

IMapControl3.Extent Property

Current extent of the Map in map units.

ERROR: Syntax information about IMapControl3.Extent may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll

[C++]
HRESULT get_Extent(
  IEnvelope** Extent
);
[C++]
HRESULT put_Extent(
  IEnvelope* Extent
);
[C++]

Parameters

Extent [out, retval]

  Extent is a parameter of type IEnvelope

Extent [in]

  Extent is a parameter of type IEnvelope

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

Network Analyst Engine application (Code Files: frmMain) | GraphicTracker with the map (Code Files: GTMapForm)