2020.2

Table Of Contents
Setting the header and footer of a Master Page
var masterA = merge.template.masterpages["Master page A"];
masterA.margins.header = "2in";
masterA.margins.footer = "2in";
media
The media object can be used to specify, enable and position a stationery's front and back in a
Control Script (see "Control Scripts" on page890 and "Control Script API" on page1379).
Note that Media are only used in Print sections (see "Media" on page488).
The available media are listed in, and retrieved via, the template object (see "template" on
page1409), for example: var myMedia = merge.template.media.My_Media.
Fields
Field Type Description
height
String The height of the Media using a Measurement string. For
example, "11in" is 11 inches.
In a Control Script this property can be used to change the
height of a Media. In other scripts it is only possible to get the
height of the Media (read-only).
stationery Stationery The Stationery's object's front and back fields are used to set
the front and the back of a Media; see "front, back" on the next
page.
width
String The width of the Media using a Measurement string. For
example, "8.5in" is 8.5 inches.
In a Control Script this property can be used to change the width
of a Media. In other scripts it is only possible to get the width of
the Media (read-only).
Page 1386