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
[C#]
public IEnvelope AreaOfInterest {get;}
[C++]
HRESULT get_AreaOfInterest(
  IEnvelope** aoi
);
[C++]
Parameters
aoi [out, retval]

aoi is a parameter of type IEnvelope**

Product Availability

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

Remarks

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