ArcObjects Library Reference  (Display)    

ISymbol.QueryBoundary Method

Fills an existing polygon with the boundary of the specified symbol.

[Visual Basic 6.0]
Sub QueryBoundary(
    ByVal hDC As OLE_HANDLE, _
    ByVal displayTransform As ITransformation, _
    ByVal Geometry As IGeometry, _
    ByVal boundary As IPolygon _
)
[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
);
[Java]
public void queryBoundary (
    int hDC,
    ITransformation displayTransform,
    IGeometry Geometry,
    IPolygon boundary
)
throws
    IOException,
    AutomationException
[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

 


Feedback Send feedback on this page