2022.1

Table Of Contents
"Control Script API" on page917). Trying to access it in another type of script will result in an
error.
Note that Master Pages are only used in a Print context (see "Master Pages" on page152).
In script, Master Pages are retrieved via the masterpages Array which contains all Master
Pages in the current template (see "template" on page946).
For example: var myMasterpage = merge.template.masterpages["Master page 1"];.
Functions and fields
Field Type Description
"html()" on
page944
Gets or sets the HTML of the body element.
"margins" on
page973
Margins Allows to set the header and footer of a Master Page, using a
Measurement string, for example: "2in" (this sets a margin to
two inches).
Page 824