2022.2

Table Of Contents
Fields
Field Type Description
height
String TheheightoftheMediausingaMeasurementstring.Forexample,"11in"is11inches.
InaControlScriptthispropertycanbeusedtochangetheheightofaMedia.Inotherscriptsitisonlypos-
sibletogettheheightoftheMedia(read-only).
stationery
Stationery TheStationery'sobject'sfrontandbackfieldsareusedtosetthefrontandthebackofaMedia;see"front,
back"below.
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beusedtochangethewidthofaMedia.Inotherscriptsitisonlypos-
sibletogetthewidthoftheMedia(read-only).
front, back
ThefrontandbackfieldsoftheStationeryobjectareusedtosetthefrontandthebackofaMedia
(see"media"onthepreviouspage).
Bothfrontandbackhavethefollowingfields.
Field Type Description
enabled
boolean Whenenabled,thestationerywillbeincludedintheoutput(Printsectionsonly).
url
String Specifiestheimagetouseasvirtualstationery.ForafilenamedMy_Media.pdf,storedinsidethetemplate
resources,theurlwouldbeimages/My_Media.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:/users/Adminstrator/Pictures/My_Media.jpg.
page
Number PDFandTIFFfilesmaycountmorethanonepage.Specifythepagenumbertouse.
position
"MediaPosition"on
page839
Thepositionisusedtoplacethestationeryonthepage(absolute,centered,fittomedia).
top
Measurement Theverticaloffsetfromthetopofthepage,usedtopositionthestationery(onlywhenabsolutepositioningis
selected).Thisvaluecanbenegative.
left
Measurement Thehorizontaloffsetfromtheleftofthepage,usedtopositionthestationery(onlywhenabsolutepositioning
isselected).Thisvaluecanbenegative.
Page 819