Visible (Property)

Applies To:

Application object, (Live) BarChart object, (Live) BlockChart object, ChartSection object, Column object, ControlsCheckBox object, ControlsCommandButton object, ControlsDropDown object, ControlsListBox object, ControlsRadioButton object, ControlsTextBox object, (Live) FunnelChart object, Hyperlink object, Legend object, Live) LineChart, (Live) PieChart object, PivotLabelValue object, PivotSection object, (CubeQuery)QuerySection object, (Live) RadarChart object, QuerySection object, Requests collection, ReportSection object. ResultsSection object, Section object, Shape object, Slider object, Tickmark object, Title object, Toolbar object, TopicItem object, TrafficLight object, ValueLabels object

Description:

Enables the display of a base object. To hide an object, set visible as false.

Note:

Do not use Toolbars[“Standard”].Visible, Toolbars[“Formatting”].Visible, Toolbars[“Sections”].Visible, and Toolbars[“Navigation”].Visible in Interactive Reporting documents to be deployed in the EPM Workspace.

Note:

Do not use Application.Visible in Interactive Reporting documents to be deployed in the EPM Workspace.

Action:

Read-write, Boolean

Example:

This example unhides all the sections in a document.

var SecCount = ActiveDocument.Sections.Count
for ( j =1 ; j <= SecCount ; j++)
     if (ActiveDocument.Sections[j].Visible == false)
                ActiveDocument.Sections[j].Visible = true