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


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

IMapControlDefault.FullExtent Property

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

[Visual Basic .NET]
Public Property FullExtent As IEnvelope
[C#]
public IEnvelope FullExtent {get; set;}
[C++]
HRESULT get_FullExtent(
void
);
[C++]
HRESULT put_FullExtent(
);

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