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


ILegend2.Draw Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend2 Interface > ILegend2.Draw Method
ArcGIS Developer Help

ILegend2.Draw Method

Draws the map surround into the specified display bounds.

[Visual Basic .NET]
Public Sub Draw ( _
    ByVal Display As IDisplay, _
    ByVal TrackCancel As ITrackCancel, _
    ByVal Bounds As IEnvelope _
)
[C#]
public void Draw (
    IDisplay Display,
    ITrackCancel TrackCancel,
    IEnvelope Bounds
);
[C++]
HRESULT Draw(
  IDisplay* Display,
  ITrackCancel* TrackCancel,
  IEnvelope* Bounds
);
[C++]
Parameters
Display [in]

Display is a parameter of type IDisplay* TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel* Bounds [in]
Bounds is a parameter of type IEnvelope*

Product Availability

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

See Also

ILegend2 Interface