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


IElement.Activate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElement Interface > IElement.Activate Method
ArcGIS Developer Help

IElement.Activate Method

Prepare to display graphic on screen.

[Visual Basic .NET]
Public Sub Activate ( _
    ByVal Display As IDisplay _
)
[C#]
public void Activate (
    IDisplay Display
);
[C++]
HRESULT Activate(
  IDisplay* Display
);
[C++]
Parameters
Display [in]

Display is a parameter of type IDisplay*

Product Availability

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

Remarks

Activate prepares the screen display for output and orients the scale of the element to the specified display.  Activate should be executed with the current display before execute the IElement::Draw method.

 

See Also

IElement Interface

.NET Samples

Move a graphic along a path in ArcMap