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


ILegend3.QueryBounds Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend3 Interface > ILegend3.QueryBounds Method
ArcGIS Developer Help

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

ILegend3 Interface