2021.1

Table Of Contents
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
0-based index of the first page to copy.
srcCount
Number of contiguous pages starting from srcIndex to extract.
optimize
If true, optimize (linearize and garbage-collect) the output file.
Insert(index, *mediaSize)
Inserts a new blank page in the PDF file. See also: "Count()" on the previous page.
Syntax
VOID Insert (
LONG index,
IPdfRect * mediaSize
)
index
Page 259