background

The background object holds the PDF background of a Print section (see section). For examples, see Control Script: Setting a Print section's background.

Fields

Field Type Description
allPages Boolean

Show all pages from the PDF.

end Number The end page of the PDF to use as a background for the section.
left Measurement The left offset of the PDF background (only when absolute positioning is selected).
position MediaPosition Set the position of the PDF background (Absolute, centered, fit to media).
source

BackgroundResource

Set the source of the PDF background (None, Datamapper, PDF Resource).

start Number The start page of the PDF to use as a background for the section.
top

Measurement

The top offset of the PDF background (only when absolute positioning is selected).
url String The location of the PDF to use as a background for the section. For a file named background.pdf, stored inside the template resources, the url would be images/background.pdf.
  • The complete syntax for an external file is: file://<host>/<path>. If the host is "localhost", it can be omitted, resulting in file:///<path>, for example: file:///c:/resources/images/image.jpg.
  •  
    • Last Topic Update: 28, November, 2017 08:50 AM
    • Last Published: 23, May, 2019 01:55 PM