Methods for registering page bound XFF script

RegisterScript()  


Syntax: 

RegisterScript(toScriptObject, tcScriptMethod, tnZOrder, tcPageScope, tnNumberingType) 

Parameters:

toScriptObject
  The PDFLScripts object reference

tcMethodName
  The name of the method containing the script

tnZOrder
  0 ... print below (before) the report page
  1 ... print above (after) the report page

tcPageScope
  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"

tnNumberingType
  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

UnregisterAllScripts ()  


Syntax: 

UnregisterAllScripts()

If multiple reports are merged together and you would like to apply scripts on a certain report but not on subsequent ones, call this method to remove all scripts registrations.

This method does not need to be called at the end of the reports processing.