2018.2

Table Of Contents
Scripts" on page369 and "Control Script API" on page749). This is especially useful when you
need identical sections with different sheet configuration settings.
The sheetConfig object can be retrieved via the section object (see "section" on page782);
see the example below.
Fields
The fields of the sheetConfig object correspond to settings in the Sheet Configuration dialog;
see "Sheet Configuration dialog" on page447.
Field Type Description
duplex Boolean
Enables or disables duplex (two-sided) printing.
facingPages Boolean (Only with duplex printing.) When facingPages is
set to true, the margins of the section switch
alternately, so that pages are printed as if in a
magazine or book.
mediaRotation Number Rotates the Media by 0, 90, 180, or -90 degrees.
omitEmptyBacksid
e
Boolean (Only with duplex printing.) Resets a page to Simplex if
it has an empty back side. This may reduce volume
printing costs.
positions Positions
(see
"Positio
n" on the
facing
page)
Used to modify the Master Page and Media and to
allow content on sheets in different positions; for
example:
var section1 =
merge.template.contexts.PRINT.sections
[0];
section1.sheetConfig.positions.all.med
ia = "Media 1";
For an overview of the available settings in each
position see "Position" on the facing page.
Page 765