2022.2

Table Of Contents
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 page204.
Syntax
VOID InsertFrom2 (
IPages srcPages,
LONG srcIndex,
LONG srcCount,
LONG destIndex
)
srcPages
IPages collection from which the 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().
Item(index)
Returns a Page object from the PDF. Note that since Item() is the collection's default method, it can be
omitted altogether (e.g. IPages(0) is the same as IPages.Item(0)).
Syntax
IPage Item ( LONG index )
index
Page 206