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


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

IMapServerInfo2.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.

See Also

IMapServerInfo2 Interface