ArcObjects Library Reference (Carto)  

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