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


IActiveView.FullExtent Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IActiveView.FullExtent Property

The full extent rectangle.

[Visual Basic .NET]
Public Property FullExtent As IEnvelope
[C#]
public IEnvelope FullExtent {get; set;}
[C++]
HRESULT get_FullExtent(
  IEnvelope** Extent
);
[C++]
HRESULT put_FullExtent(
  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, ArcGIS Desktop, and ArcGIS Server.

Remarks

The full extent of the view. In ArcMap's data view, the full extent is the full extent of all layers and it is automatically calculated whenever the spatial reference changes and when layers are added or removed with AddLayer, AddLayers, or DeleteLayer. In layout view, the full extent is the page size expanded some and it is automatically set whenever the page size changes.

This property is a shortcut to the bounds of the ActiveView's ScreenDisplay (accessed via IDisplayTransformation::Bounds) .

See Also

IActiveView Interface | IActiveView.FullExtent Property | IDisplayTransformation.Bounds Property

.NET Samples

Add a custom menu created in .NET to ArcGIS for Desktop (Code Files: AddShapefile)

.NET Related Topics

Adding a custom menu created in .NET to ArcGIS for Desktop