This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend2 Interface > ILegend2.QueryBounds Method (ArcObjects .NET 10.4 SDK) |
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