2021.2

Table Of Contents
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 page245.
IPages methods
Name Return type Description
"Count()" on the
next page
LONG Returns the number of items in the Pages collection,
in other words the number of pages in the PDF.
"Delete()" on the
next page
Deletes a page from the PDF.
"ExtractTo
(destFilename,
srcIndex, srcCount,
optimize)" on
page259
Extracts pages from the PDF and creates a new file
with these pages.
"Insert(index,
*mediaSize)" on
page259
Inserts a new blank page in the PDF file.
"InsertFrom
(srcFilename,
Inserts pages from another PDF file into this one. All
relevant resources are copied with the pages.
Page 257