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

IAnnotateMap2.Label Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnotateMap2 Interface > IAnnotateMap2.Label Method
ArcGIS Developer Help

IAnnotateMap2.Label Method

Labels feature layers based on the properties given.

[Visual Basic .NET]
Public Sub Label ( _
    ByVal overposterProps As IOverposterProperties, _
    ByVal annoMapCmdProps As IAnnotateMapProperties, _
    ByVal Map As IMap, _
    [ByVal TrackCancel As ITrackCancel] _
public void Label (
    IOverposterProperties overposterProps,
    IAnnotateMapProperties annoMapCmdProps,
    IMap Map,
    ITrackCancel TrackCancel
  IOverposterProperties* overposterProps,
  IAnnotateMapProperties* annoMapCmdProps,
  IMap* Map,
  ITrackCancel* TrackCancel
overposterProps [in]

overposterProps is a parameter of type IOverposterProperties* annoMapCmdProps [in]
annoMapCmdProps is a parameter of type IAnnotateMapProperties* Map [in]
Map is a parameter of type IMap* TrackCancel [in, optional, defaultvalue()]
TrackCancel is a parameter of type ITrackCancel*

Product Availability

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

See Also

IAnnotateMap2 Interface