Orientation Property [PageSetup]
Orientation returns or sets the paper orientation (landscape or portrait) for the plot window. Returns a SrfPaperOrientation.
Syntax
object.Orientation
object.Orientation = Orient
Parameter |
Type |
Description |
Orient |
required |
Example 1
This example demonstrates how to return the page orientation of a document.
Debug.Print PageSetup.Orientation
Example 2
This example demonstrates how to set the page orientation to landscape.
PageSetup.Orientation = srfLandscape
Used by: PageSetup object