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


IMapLayerInfo2.Extent Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapLayerInfo2.Extent Property

The geographic extent of the layer.

[Visual Basic .NET]
Public ReadOnly Property Extent As IEnvelope
[C#]
public IEnvelope Extent {get;}
[C++]
HRESULT get_Extent(
  IEnvelope** Extent
);
[C++]

Parameters Extent [out, retval]
Extent is a parameter of type IEnvelope

Product Availability

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

Remarks

The geographic extent is in map units. To get the map units of the map use MapUnits on IMapServerInfo2.

See Also

IMapLayerInfo2 Interface