PrintOrientation Element

Author-it XML

Platform_KC
On Premises

Description

Allows you to choose the orientation of the page for the section:

  • Landscape when the long edge of the paper is horizontal.
  • Portrait when the long edge of the paper is vertical.

The PrintOrientation element corresponds to the "Orientation" field, on the Paper Size sub-tab, on the Document tab of the Media object.

Attributes

Attribute Name

Optional

Data Type

inherited

Yes

Boolean

Parent Element

Media

Values

Data Type

Range

Integer

1 or 2, where:

1 = Portrait
2 = Landscape

Sample XML

<PrintOrientation inherited="true">1</PrintOrientation>