2019.2

Table Of Contents
l The PDF object implements the IPDF interface. This interface defines methods to open,
close and save files, as well as to access meta information such as the XMP attachment.
The interface also implements a Pages collection object to access the list of pages in the
PDF. (See "PDF object" on page253.)
l The Pages collection object implements the IPages interface. This interface defines
methods to add, import, move or delete pages as well to access individual Page items.
(See "Pages collection object" on page265.)
l The Page object implements the IPage interface. This interface defines methods to
retrieve information from a page or modify it. A page may also be drawn on a Windows
Device Context (DC), but note that access to DCs may not be available in all scripting
languages. (See "Page object" on page270.)
"IPdfInfos" on page281, "IPdfPrintParams" on page282 and "IPdfRect" on page282 are the
structures used.
Note
In OL Connect, PDF files are normally best handled by "OL Connect tasks" on page613.
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 )
Page 251