2022.2

Table Of Contents
Fields
Field Type Description
"background"on
page829
Background
Print sections only. Used to set a PDF background on a Print section. See
"ControlScript:SettingaPrintsection'sbackground"onpage404 and "Back-
groundResource"onpage836.
enabled
Boolean Enablesordisablesthissectionforoutput(see"Examples"onpage826).NotethatevenifaPrint
sectionisdisabled,thepartandrestartPageNumberfieldsarestilleffectivetodefinetheparts
divisionandpagenumberingovermultiplesectionswhenapplicable.
Thedefaultenabledstateforsections(beforeanycontrolscriptruns)isasfollows:
l
ForEmailchannelrequestsonthePrintcontextallPrintsectionsareenabledby
default.Itispossibletoenabledifferentormultiplesectionstocontrolwhichsec-
tionswillbeattachedtotheemail.
l
ForEmailchannelrequests,therequestedsectionisenabledbydefault.Itispos-
sibletooutputanothersectionbydisablingtherequestedsectionandenabling
anothersection.
l
ForPrintchannelrequestsonthePrintcontextallsectionsareenabledbydefault.
Itispossibletoenabledifferentormultiplesectionstocontrolwhichsectionswillbe
outputted.
headers
String DEPRECATED. Use the addHeader() function instead.
Email sections only.Usedtosetcustomemailheaders.
height
String Print sections only.TheheightofthesectionusingaMeasurementstring.Forexample,
"11in"is11inches.
InaControlScriptthispropertycanbeusedtosettheheightofthesection.Inotherscriptsit
isonlypossibletogettheheightofthesection(read-only).
"html()"onpage834
GetsorsetstheHTMLofthebodyelement.
margins
Margins Print sections only.Usedtosettheprintmarginsofasection.Youcansetthebottom,left,right
andtopmarginusingaMeasurementstring;forexample,"2in"setsamarginto2inches.
minPages
Number Minimumnumberofpagesinthesection.Thedefaultis1.
name
String Usedtogetorsetthenameofthesection.Notethatsectionnamesmustbeuniqueandthatsec-
tionscannothaveanintegerasitsname.Thenameshouldalwaysincludealphanumericchar-
acters.
Torenameemailattachments,usethefieldpart.
ownerPassword
String Print sections only.UsedtosettheownerpasswordforaPDFattachment.*Settingonly
theownerpasswordcreatesasecuredPDFthatcanbefreelyviewed,butcannotbemanip-
ulatedunlesstheownerpasswordisprovided.(NotethattherecipientneedsAdobeAcrobat
todothis,becausetheAcrobatReaderdoesnotallowuserstoentertheownerpassword.)
See"ControlScript:SecuringPDFattachments"onpage408.
Page 823