2019.2

Table Of Contents
SetVersion (major, minor)
Sets the version of the underlying PDF file format. This is applied when the file is saved. See
also: "Save()" on page264.
Syntax
VOID SetVersion ( LONG major, LONG minor )
major
Major version number.
minor
Minor version number.
SetXMP(xmpPacket)
Sets the XMP attachment by replacing the existing one with xmpPacket.
Syntax
VOID SetXMP ( STRING xmpPacket )
xmpPacket
New XMP attachment to use instead of the existing one.
Pages collection object
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.
It is accessed via the "PDF object" on page255.
IPages methods
Name Return type Description
"Count()" on the
facing page
LONG Returns the number of items in the Pages
collection, in other words the number of pages in
the PDF.
Page 266