ArcGIS Developer Help  (Carto)    

IElement.QueryBounds Method

Bounds of the element taking symbology into consideration.

[Visual Basic 6.0]
Sub QueryBounds(
    ByVal Display As IDisplay, _
    ByVal Bounds As IEnvelope _
)
[Visual Basic .NET]
Public Sub QueryBounds ( _
    ByVal Display As IDisplay, _
    ByVal Bounds As IEnvelope _
)
[C#]
public void QueryBounds (
    IDisplay Display,
    IEnvelope Bounds
);
[Java]
public void queryBounds (
    IDisplay Display,
    IEnvelope Bounds
)
throws
    IOException,
    AutomationException
[C++]
HRESULT QueryBounds(
  IDisplay* Display,
  IEnvelope* Bounds
);
[C++]

Parameters

Display [in]

  Display is a parameter of type IDisplay

Bounds [in]

  Bounds is a parameter of type IEnvelope

Product Availability

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

Remarks

QueryBounds returns an envelope representing the boundary of the element.  A valid envelope object must be passed in to the method along with the current display.  The method then updates the envelope object based on the minimum bounding rectangle of the element.

See Also

IElement Interface

 


Feedback Send feedback on this page