ArcObjects Library Reference (Controls)  

ITOCBuddyEvents.ActiveViewChanged Method

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

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

ITOCBuddyEvents Interface