This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicDisplay Interface > IDynamicDisplay.DrawPolygon Method (ArcObjects .NET 10.5 SDK) |
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.