ArcObjects Library Reference (PublisherControls)  

IARMap.GetFullExtent Method

The extent of all the data within the map.

[Visual Basic .NET]
Public Sub GetFullExtent ( _
    ByRef xMin As Double, _
    ByRef yMin As Double, _
    ByRef xMax As Double, _
    ByRef yMax As Double _
)
[C#]
public void GetFullExtent (
    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 full extent of all data layers in the ARMap in MapUnits.

See Also

IARMap Interface | IARMap.SetExtent Method | IARMap.GetExtent Method | IARMap.ZoomToFullExtent Method