This method inserts pages from another document into the current document. If the source document is equal to the current document, then this method does not insert any pages. The inserted page(s) will be inserted starting at the specified page number, moving original pages to be after inserted page(s).
Syntax
public void insertPages(
long ,
Document ,
long ,
long
)
|
Parameters
- insertAtPageNumber
- The page number before which the new pages should be inserted. The first page is 0.
- sourceDocument
- The document containing the pages to be inserted.
- startPageNumber
- The page number of the first page in the source document to insert. The first page is 0.
- pageCount
- The number of pages of the source document to insert.
See Also