ImageGear Java PDF
insertPages Method
The page number before which the new pages should be inserted. The first page is 0.
The document containing the pages to be inserted.
The page number of the first page in the source document to insert. The first page is 0.
The number of pages of the source document to insert.
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 insertAtPageNumber,
   Document sourceDocument,
   long startPageNumber,
   long pageCount
)

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

Reference

Document Class
Document Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback