2022.1

Table Of Contents
Note
When a Control Script changes the size of a section, it should also change the size of the
linked Media; this is not done automatically. While the output may still look good, a size
mismatch can cause an issue if a script or another component assumes that the media
size matches the section size.
In case of a size mismatch a preflight will show a warning (see "Doing a Preflight" on
page930).
Functions
Note
For cloned sections, functions are not available.
Function Description
"clone()" on
page1494
Clone this section. See "Dynamically adding sections (cloning)" on
page966.
addAfter() Add a cloned section after this section.
addBefore() Add a cloned section before this section.
addHeader
(key, value)
Email sections only. Used to set custom email headers. The function
expects a key and a value (both of type string). For examples, see
"Adding custom ESP handling instructions" on page1566.
"html()" on
page1495
Sets the initial HTML of the body element.
"paginate()"
on page1525
Post Pagination Scripts only. Paginates the content of a Print section.
Page 1483