2021.2

Table Of Contents
0-based index at which to insert the page. The page is inserted *before* the page at index
"index ". To insert a page at the end, use IPages.Count().
mediaSize
"IPdfRect" on page 275 structure containing the rectangular dimensions of the new page, in
points. Cannot be NULL.
InsertFrom(srcFilename, srcIndex, srcCount, destIndex)
Inserts pages from another PDF file into this one. All relevant resources are copied with the
pages. See also: "Count()" on page258.
Syntax
VOID InsertFrom (
STRING srcFilename,
LONG srcIndex,
LONG srcCount,
LONG destIndex
)
srcFilename
Name of the PDF from which pages are retrieved.
srcIndex
0-based index of the first page to copy.
srcCount
Number of contiguous pages starting from srcIndex to insert. If srcCount is -1, all pages from
srcIndex up to the end are inserted.
destIndex
0-based index of the position where to insert the pages. They will be inserted before the page
at index destIndex. To insert the pages at the end, use IPages.Count().
InsertFrom2(srcPages, srcIndex, srcCount, destIndex)
Inserts pages from another IPages object into this one. All relevant resources are copied with
the pages. See also: "Count()" on page258.
Syntax
Page 260