![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElement Interface > IElement.QueryOutline Method (ArcObjects .NET 10.4 SDK) |
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
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).