This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > ISymbol Interface > ISymbol.QueryBoundary Method (ArcObjects .NET 10.4 SDK) |
Fills an existing polygon with the boundary of the specified symbol.
[Visual Basic .NET] Public Sub QueryBoundary ( _ ByVal hDC As Integer, _ ByVal displayTransform As ITransformation, _ ByVal Geometry As IGeometry, _ ByVal boundary As IPolygon _ )
[C#] public void QueryBoundary ( int hDC, ITransformation displayTransform, IGeometry Geometry, IPolygon boundary );
[C++]
HRESULT QueryBoundary(
long hDC,
ITransformation* displayTransform,
IGeometry* Geometry,
IPolygon* boundary
);
[C++]
Parameters hDC [in] hDC is a parameter of type long displayTransform [in]
displayTransform is a parameter of type ITransformation Geometry [in]
Geometry is a parameter of type IGeometry boundary [in]
boundary is a parameter of type IPolygon
Valid input Geometries are as follows:
For MarkerSymbols, the Geometry must be an IPoint.
For Fill Symbols, the Geometry can be either an IPolygon or an IEnvelope.
For Line Symbols, the Geometry must be an IPolyline.