This document is archived and information here might be outdated. Recommended version. |
Fired when the contents of the view changes.
[Visual Basic .NET] Public Event ContentsChanged As ContentsChangedEventHandler
[C#] public event ContentsChangedEventHandler ContentsChanged
[C++]
HRESULT ContentsChanged(
void
);
The Map object fires this event when a new document is loaded. Adding a new layer to a Map does not trigger this event.
The PageLayout object fires the event when IGraphicsContainer::DeleteAllElements in called and when a new document is loaded.
IActiveViewEvents Interface | IActiveView.ContentsChanged Method