ArcObjects Library Reference (Carto)  

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 Snippets

Zoom to Globe Layer

.NET Samples

Custom UI elements using add-ins (Code Files: ZoomToLayerButton) | Create a command by inheriting from BaseCommand (Code Files: ZoomToLayer) | Create a custom selection extension by extending ArcObjects (Code Files: ZoomToLayerMultiItem)

.NET Related Topics

Create a command by inheriting from BaseCommand | How to create dynamic menu commands using a MultiItem | Persisting cache information for use in dynamic display