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

ILayer.AreaOfInterest Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayer Interface > ILayer.AreaOfInterest Property
ArcGIS Developer Help

ILayer.AreaOfInterest Property

The default area of interest for the layer.

[Visual Basic .NET]
Public ReadOnly Property AreaOfInterest As IEnvelope
public IEnvelope AreaOfInterest {get;}
HRESULT get_AreaOfInterest(
  IEnvelope** aoi
aoi [out, retval]

aoi is a parameter of type IEnvelope**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Returns the spatial-referenced extent of the layer.

See Also

ILayer Interface

.NET Samples

Custom UI elements using add-ins Create a custom selection extension by extending ArcObjects