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


IElement.QueryOutline Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElement Interface > IElement.QueryOutline Method
ArcGIS Developer Help

IElement.QueryOutline Method

Bounds of the element taking symbology into consideration.

[Visual Basic .NET]
Public Sub QueryOutline ( _
    ByVal Display As IDisplay, _
    ByVal Outline As IPolygon _
)
[C#]
public void QueryOutline (
    IDisplay Display,
    IPolygon Outline
);
[C++]
HRESULT QueryOutline(
  IDisplay* Display,
  IPolygon* Outline
);
[C++]
Parameters
Display [in]

Display is a parameter of type IDisplay* Outline [in]
Outline is a parameter of type IPolygon*

Product Availability

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

Remarks

QueryOutline returns a polygon representing the outline of the element.  A valid polygon object must be passed in to the method along with the current display.  The method then updates the polygon object.  The results for point and line elements will be similar to the minimum bounding envelope returned by QueryBounds, while the results for polygon elements while be the actual outline of the element (not the bounding envelope).

 

See Also

IElement Interface