This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCBuddyEvents Interface > ITOCBuddyEvents.ActiveViewChanged Method (ArcObjects .NET 10.5 SDK) |
Notifies the TOC that the active view has changed and an Update is required.
[Visual Basic .NET] Public Sub ActiveViewChanged ( _ ByVal OnlyScaleChange As Boolean _ )
[C#] public void ActiveViewChanged ( bool OnlyScaleChange );
[C++]
HRESULT ActiveViewChanged(
VARIANT_BOOL OnlyScaleChange
);
[C++]
Parameters OnlyScaleChange [in] OnlyScaleChange is a parameter of type VARIANT_BOOL
The ActiveViewChanged event is triggered whenever there is a scale change in the ActiveView of the ITOCControl::Buddy. This event is fired when the TOCControl has a 'buddy' GlobeControl and the IGlobeDisplayEvents::InteractionStopped event is fired.