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


ISymbol.QueryBoundary Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

ISymbol.QueryBoundary Method

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(
  OLE_HANDLE hDC,
  ITransformation* displayTransform,
  IGeometry* Geometry,
  IPolygon* boundary
);
[C++]

Parameters hDC [in]
hDC is a parameter of type OLE_HANDLE 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*

Product Availability

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

Remarks

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.

See Also

ISymbol Interface