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


ITrackingLabelEngine.AddLabel Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > TrackingAnalyst > ESRI.ArcGIS.TrackingAnalyst > Interfaces > IT > ITrackingLabelEngine Interface > ITrackingLabelEngine.AddLabel Method
ArcGIS Developer Help

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