2021.2

Table Of Contents
section.sheetConfig.facingPages = true;
section.sheetConfig.mediaRotation = 0;
Position
The positions property of the sheetConfig object (see "sheetConfig" on page1429) can be
used to repeat the sheet configuration after a certain number of pages, or to retrieve and modify
settings for sheets in different positions. Available positions are:
l single: The only sheet in a section.
l first: The first sheet in the section.
l middle: All after the first sheet and before the last sheet in a section.
l last: The last sheet in a section.
l all: All sheets in the section.
Note
Settings for all sheets may conflict with settings for a particular position. In such
cases, the setting that was specified last overrides the other.
Each of these positions has the following fields.
Field Type Description
allowContent AllowContent
Used to specify on which sides of a sheet (in a
certain position) content is allowed.
Possible values:
l AllowContent.ALL_SIDES
l AllowContent.FRONT_ONLY (only with
duplex printing)
l AllowContent.BACK_ONLY (only with duplex
printing)
l AllowContent.NONE (not allowed on all,
single and middle positions)
masterBack String Specifies the Master Page to use on the backside
Page 1431