orientation

Specifies the orientation of the medium.

Syntax

Reference_Syntax.orientation = "portrait | landscape"

Values

Type

Values

String

  • portrait (default)

  • landscape

The orientation of the medium places the short edge at the top.

  • landscape

The orientation of the medium places the long edge at the top.

Applies to

Model

Object

Form Model

medium

Version

XFA 2.1

Examples

JavaScript

xfa.form.form1.pageSet.Page1.medium.orientation = "landscape";

FormCalc

xfa.form.form1.pageSet.Page1.medium.orientation = "landscape"

// Ethnio survey code removed