Orientation (Property)

Applies To:

ReportSection object, (Live) BarChart object, (Live) BlockChart object

Description:

For a ReportSection object, returns the value of portrait (vertical) or landscape (horizontal) for the page orientation of the printed report.

For a (Live) BarChart object, sets the position of the (Live) Chart object defined by the BqObjectOrientation constant group, which includes the following values:

The (Live) FunnelChart object uses the following values of the BqObjectOrientation constant group:

Note:

When using this property and the SuspendCalculation (Property) is true, use the Recalculate (Method) to recalculate the Report section.

Action:

Read-only, String

Constants:

The Orientation (Property) uses the BqOrientation constant group, which consists of the bqOrientationPortrait and bqOrientationPortrait values. It also uses the BqObjectOrientation constant group.

Example:

This example shows how to set the page orientation to landscape:

ActiveDocument.Sections["Report"].Orientation = bqOrientationLandscape