ArcObjects Library Reference (Controls)  

IMapControlDefault.FullExtent Property

Rectangular shape that encloses all features of all layers in the Map.

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

[C++]
HRESULT get_FullExtent(
  IEnvelope** FullExtent
);
[C++]
HRESULT put_FullExtent(
  IEnvelope* FullExtent
);
[C++]

Parameters

FullExtent [out, retval]

  FullExtent is a parameter of type IEnvelope

FullExtent [in]

  FullExtent is a parameter of type IEnvelope

Product Availability

Available with ArcGIS Engine.

Description

Returns or sets a new envelope object representing the full extent of all the data layers in the Map. The FullExtent property is a shortcut to IDisplayTransformation::Bounds. Setting the FullExtent triggers the IMapControlEvents2::OnFullExtentUpdated event.

Errors Returned

1015 800A03F7: The supplied envelope represents is an invalid extent 

See Also

IMapControlDefault Interface

.NET Samples

Geoevents in a MapControl (Code Files: GeoEvents)