PrintPageOrientation Cell (Print Properties Section)
Determines whether the page prints using portrait or landscape orientation.
Value | Orientation | Automation constant |
|---|---|---|
0 | Same as printer | visPPOSameAsPrinter |
1 | Portrait | visPPOPortrait |
2 | Landscape | visPPOLandscape |
When you insert new pages in a document, this setting defaults to the setting in the active page.
To get a reference to the PrintPageOrientation cell by name from another formula, or from a program using the CellsU property, use:
Cell name: | PrintPageOrientation |
To get a reference to the PrintPageOrientation cell by index from a program, use the CellsSRC property with the following arguments:
Section index: | visSectionObject |
Row index: | visRowPrintProperties |
Cell index: | visPrintPropertiesPageOrientation |