constants PageOrientationEnum
The PageOrientation property specifies the page orientation. Defines the page orientation using one of the following values:

NameValueDescription
exPortrait1 This value sets the page orientation to portrait mode, where the page is taller than it is wide. It is the standard vertical layout used for most documents.
exLandscape2 This value sets the page orientation to landscape mode, where the page is wider than it is tall. This horizontal layout is often used for wider content like spreadsheets, charts, or presentations.