ArcObjects Library Reference  (PublisherControls)    

IARMap.GetExtent Method

The visible extent of the map.

[Visual Basic 6.0]
Sub GetExtent(
    xMin As Double, _
    yMin As Double, _
    xMax As Double, _
    yMax As Double _
) As Empty
[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

 


Feedback Send feedback on this page