AdaptiveState (Property)

Applies To:

PluginDocument (Interactive Reporting Web Client only)

Description:

Returns the current Adaptive state mode to which the plug-in belongs.

Action:

Read-only

Constants:

The BqAdaptiveState constant group has these values:

Example:

This example shows how to use the AdaptiveState property to execute scripts conditionally:

var CurState = ActiveDocument.AdaptiveState
if( CurState == bqStateAnalyzeOnly || CurState == bqStateViewOnly)
        ActiveDocument.Sections["Start Here"].Activate()
else
        ActiveDocument.Sections["Query"].Activate()