2019.2

Table Of Contents
"IPdfInfos" on page282, "IPdfPrintParams" on page283 and "IPdfRect" on page284 are the
structures used.
Note
In OL Connect, PDF files are normally best handled by "OL Connect tasks" on page617.
However, the AlambicEdit API can provide a solution in special situations; see for
example Stamping one PDF file on another PDF file.
Syntax conventions
The syntax for methods, properties and structures is as follows.
Methods
Syntax
RETURN_VALUE_TYPE methodName( [ARGUMENT_TYPE arg1[, ARGUMENT_TYPE
arg2[,...]]] )
Methods with a RETURN_VALUE_TYPE of VOID do not have a return value.
In case of failure, methods raise an exception.
Examples
VOID Open( STRING fileName, BOOLEAN doRepair )
STRING GetXYML()
JavaScript implementation:
myPDF.Open("C:\\PDFs\\SomeDocument.pdf", false);
var myXYML = myPDF.GetXYML();
Note: In JavaScript, all method calls must include parentheses, even for methods that do not
require arguments (e.g. Watch.GetPDFEditObject(), myPDF.Pages() ).
VBScript implementation:
myPDF.Open "C:\\PDFs\\SomeDocument.pdf", false
myXYML = myPDF.GetXYML
Page 253