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


IMapLayerInfo2.Extent Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayerInfo2 Interface > IMapLayerInfo2.Extent Property
ArcGIS Developer Help

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