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


IDynamicDisplay.DrawMultipleMarkers Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicDisplay Interface > IDynamicDisplay.DrawMultipleMarkers Method
ArcGIS Developer Help

IDynamicDisplay.DrawMultipleMarkers Method

Draws a marker at the specified points on the dynamic display.

[Visual Basic .NET]
Public Sub DrawMultipleMarkers ( _
    ByVal pointCollection As IPointCollection _
)
[C#]
public void DrawMultipleMarkers (
    IPointCollection pointCollection
);
[C++]
HRESULT DrawMultipleMarkers(
  IPointCollection* pointCollection
);
[C++]
Parameters
pointCollection [in]

pointCollection is a parameter of type IPointCollection*

Product Availability

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

Remarks

The markers will be rendered according to the current Dynamic Marker Symbol attributes, as described in esriDynamicSymbolType constants.

Using this method is useful when you need to draw multiple markers that look the same in different locations, for example drawing indication markers on a polyline's or a polygon's vertices.

[C#]

In order to efficiently update your dynamic items, you should keep them in arrays of WKSPoint, and use IGeometryBridge2 interface.

[Visual Basic .NET]

In order to efficiently update your dynamic items, you should keep them in arrays of WKSPoint, and use IGeometryBridge2 interface.

See Also

IDynamicDisplay Interface