This document is archived and information here might be outdated. Recommended version. |
Fires when the current focus map in the PageLayoutControl has been switched to a new map.
[Visual Basic .NET] Public Event OnFocusMapChanged As OnFocusMapChangedEventHandler
[C#] public event OnFocusMapChangedEventHandler OnFocusMapChanged
[C++]
HRESULT OnFocusMapChanged(
void
);
The OnFocusMapChanged event is based upon the IActiveViewEvents::FocusMapChanged event. The event is fired whenever a new map is made active. If a Map Document has been loaded into the PageLayoutControl that contains multiple map frames, the event will be triggered when the IActiveView::FocusMap property is changed.