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 _
public void Activate (
    IDisplay Display
HRESULT Activate(
  IDisplay* Display
Display [in]

Display is a parameter of type IDisplay*

Product Availability

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


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