In This Topic

ClonePage Method (GdPicturePDF)

In This Topic
Clones a specific page within the current document or from another source document into the current one.
Overload List
OverloadDescription
Clones a page specified by its page number, that means creates exactly the same copy of the specified page, in the currently loaded PDF document. The newly created page is added at the end of the document as the last page and it is automatically selected as the current page.

Just to inform you, that the toolkit offers the adaptive file caching mechanism to significantly reduce memory usage while cloning large documents. The feature is available in both 32-bit and 64-bit mode by default.

 
Clones a page specified by its page number located in the specified source PDF document into the currently loaded PDF document. The newly created page is added at the end of the current document as the last page and it is automatically selected as the current page.

Just to inform you, that the toolkit offers the adaptive file caching mechanism to significantly reduce memory usage while cloning large documents. The feature is available in both 32-bit and 64-bit mode by default.

This method can be useful when you need to merge multiple PDF documents into one destination document, as it is shown in the attached example. You can also benefit from this method when you need to split a large multipage PDF document into smaller separate PDF documents that will contain the required number of pages, please refer to this example of how to quickly achieve it.

 
See Also