This document is archived and information here might be outdated. Recommended version. |
Draws specified polygon with fill and line on the dynamic display.
[Visual Basic .NET] Public Sub DrawPolygon ( _ ByVal pointCollection As IPointCollection _ )
[C#] public void DrawPolygon ( IPointCollection pointCollection );
[C++]
HRESULT DrawPolygon(
IPointCollection* pointCollection
);
[C++]
Parameters pointCollection [in]
pointCollection is a parameter of type IPointCollection*
The fill will be rendered according to the current Dynamic Fill Symbol attributes, as described inesriDynamicSymbolType, and the lines will be rendered according to the current Dynamic Line Symbol attributes, as described in esriDynamicSymbolType
In order to efficiently update your dynamic items, you should keep them in arrays of WKSPoint, and use IGeometryBridge2 interface.
In order to efficiently update your dynamic items, you should keep them in arrays of WKSPoint, and use IGeometryBridge2 interface.