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


IAnnotateMap2.Draw Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IAnnotateMap2.Draw Method

Draws labels for feature layers based on the properties given.

[Visual Basic .NET]
Public Sub Draw ( _
    ByVal Display As IDisplay, _
    ByVal overposterProps As IOverposterProperties, _
    ByVal annoMapCmdProps As IAnnotateMapProperties, _
    ByVal Map As IMap, _
    [ByVal TrackCancel As ITrackCancel] _
)
[C#]
public void Draw (
    IDisplay Display,
    IOverposterProperties overposterProps,
    IAnnotateMapProperties annoMapCmdProps,
    IMap Map,
    ITrackCancel TrackCancel
);
[C++]
HRESULT Draw(
  IDisplay* Display,
  IOverposterProperties* overposterProps,
  IAnnotateMapProperties* annoMapCmdProps,
  IMap* Map,
  ITrackCancel* TrackCancel
);
[C++]

Parameters Display [in]
Display is a parameter of type IDisplay* 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