See Also Examples Applies To
Defines the page orientation when printing.
Syntax
object.PrintSetOrientation (nOrientation)
The PrintSetOrientation syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nOrientation | Required. Integer. 1 for portrait and 2 for landscape. |