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


IARMap.GetExtent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface > IARMap.GetExtent Method
ArcGIS Developer Help

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