This document is archived and information here might be outdated. Recommended version. |
Fired when an item is added to the view.
[Visual Basic .NET] Public Event ItemAdded As ItemAddedEventHandler
[C#] public event ItemAddedEventHandler ItemAdded
[C++]
HRESULT ItemAdded(
VARIANT Item
);
[C++] Parameters Item [in]
Item is a parameter of type VARIANT
The Map fires the event every time a new layer is added.
The PageLayout fires this event whenever a new element is added to the layout. Elements include not only graphics but data frames as well.