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


ITrackingLabelEngine.AddLabel Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (TrackingAnalyst)  

ITrackingLabelEngine.AddLabel Method

Adds a tracking label to the map display.

[Visual Basic .NET]
Public Sub AddLabel ( _
    ByVal bstrID As String, _
    ByVal piLayer As ILayer, _
    ByVal piLabel As ITrackingLabel _
)
[C#]
public void AddLabel (
    string bstrID,
    ILayer piLayer,
    ITrackingLabel piLabel
);
[C++]
HRESULT AddLabel(
  BSTR bstrID,
  ILayer* piLayer,
  ITrackingLabel* piLabel
);
[C++]

Parameters bstrID [in]
bstrID is a parameter of type BSTR piLayer [in]
piLayer is a parameter of type ILayer* piLabel [in]
piLabel is a parameter of type ITrackingLabel*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also

ITrackingLabelEngine Interface