ReportSection object, (Live) BarChart object, (Live) BlockChart object
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:
bqObjectOrientationDown
bqObjectOrientationHorizontal
bqObjectOrientationLeft
bqObjectOrientationRight
bqObjectOrientationUp
bqObjectOrientationVertical
The (Live) FunnelChart object uses the following values of the BqObjectOrientation constant group:
bqObjectOrientationDown
bqObjectOrientationLeft
bqObjectOrientationRight
bqObjectOrientationUp
When using this property and the SuspendCalculation (Property) is true, use the Recalculate (Method) to recalculate the Report section. |
The Orientation (Property) uses the BqOrientation constant group, which consists of the bqOrientationPortrait and bqOrientationPortrait values. It also uses the BqObjectOrientation constant group.
This example shows how to set the page orientation to landscape:
ActiveDocument.Sections["Report"].Orientation = bqOrientationLandscape