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


ILegend2.QueryBounds Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILegend2.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

ILegend2 Interface