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


IMapServerInfo.Extent Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapServerInfo.Extent Property

The current extent of the map (data frame).

[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

This is the extent of the DefaultMapDescription.

See Also

IMapServerInfo Interface