2022.2

Table Of Contents
"Item(index)" on page206
IPage (see
"Page
object" on
page207)
Returns a Page object from the PDF. Note that sinceItem() is the collection's default method, it
can be omitted altogether (e.g. IPages(0) is the same as IPages.Item(0)).
"Move(index, count, offset)" on
page207
Moves a range of pages within the same PDF.
IPages methods reference
Count()
Returns the number of items in the Pages collection, in other words the number of pages in the PDF.
Syntax
LONG Count ( )
Return value
The number of pages in the PDF.
Delete()
Deletes a page from the PDF.
Syntax
VOID Delete ( LONG index )
index
0-based index of the page to delete.
ExtractTo(destFilename, srcIndex, srcCount, optimize)
Extracts pages from the PDF and creates a new file with these pages. All relevant resources are copied
with the pages. If the target file already exists, it is overwritten.
Syntax
VOID ExtractTo (
STRING destFilename,
LONG srcIndex,
LONG srcCount,
BOOL optimize
)
destFilename
Name of the PDF to create with the specified pages.
srcIndex
Page 204