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


IARMap.GetExtent Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (PublisherControls)  

IARMap.GetExtent Method

The visible extent of the map.

[Visual Basic .NET]
Public Sub GetExtent ( _
    ByRef xMin As Double, _
    ByRef yMin As Double, _
    ByRef xMax As Double, _
    ByRef yMax As Double _
)
[C#]
public void GetExtent (
    ref double xMin,
    ref double yMin,
    ref double xMax,
    ref double yMax
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Returns the xmin, ymin, xmax and ymax coordinates of the ARMap's current visible extent in MapUnits.

See Also

IARMap Interface | IARMap.SetExtent Method | IARMap.GetFullExtent Method | IARMap.ZoomToFullExtent Method