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


IMapSurround.QueryBounds Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapSurround Interface > IMapSurround.QueryBounds Method
ArcGIS Developer Help

IMapSurround.QueryBounds Method

Returns the bounds of the map surround.

[Visual Basic .NET]
Public Sub QueryBounds ( _
    ByVal Display As IDisplay, _
    ByVal oldBounds As IEnvelope, _
    ByVal newBounds As IEnvelope _
)
[C#]
public void QueryBounds (
    IDisplay Display,
    IEnvelope oldBounds,
    IEnvelope newBounds
);
[C++]
HRESULT QueryBounds(
  IDisplay* Display,
  IEnvelope* oldBounds,
  IEnvelope* newBounds
);
[C++]
Parameters
Display [in]

Display is a parameter of type IDisplay* oldBounds [in]
oldBounds is a parameter of type IEnvelope* newBounds
newBounds is a parameter of type IEnvelope*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapSurround Interface