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 and Control Script API).
Note that Media are only used in Print sections (see Media).
The available media are listed in, and retrieved via, the template object (see template), 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. |
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). |