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


IAnnotateMap2.Label Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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] _
)
[C#]
public void Label (
    IOverposterProperties overposterProps,
    IAnnotateMapProperties annoMapCmdProps,
    IMap Map,
    ITrackCancel TrackCancel
);
[C++]
HRESULT Label(
  IOverposterProperties* overposterProps,
  IAnnotateMapProperties* annoMapCmdProps,
  IMap* Map,
  ITrackCancel* TrackCancel
);
[C++]

Parameters 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(0)]
TrackCancel is a parameter of type ITrackCancel

Product Availability

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

See Also

IAnnotateMap2 Interface