Syntax:
RegisterScript(toScriptObject, tcScriptMethod, tnZOrder, tcPageScope, tnNumberingType)
Parameters:
toScriptObject
The PDFLScripts object reference
tcMethodName
The name of the method containing the script
tnZIndex
0 ... print below (before) the report page
1 ... print above (after) the report page
tcScope
Defines which pages to invoke the scripts on. Can contain "ALL", "ODD", "EVEN" and numbers delimited with commas. Hyphens can be used to define the from-to scope. Examples: "ODD", "1,5-19", "ODD,4,8"
tnPageNumberingType
Defines how XFRX determines the page number:
0 ... absolute - the page number in the document,
1 ... relative - the page number in the current report,
2 ... the value of _PAGENO