DocumentPageImporter
Overview
DocumentPageImporter is a class in Aspose.Pdf FOSS for Java.
Imports pages from one {@link Document} into another by performing a full deep copy of the source page’s COS subgraph into fresh indirect objects belonging to the target document.
Methods
| Signature | Description |
|---|---|
DocumentPageImporter(target: Document, source: Document) | @param target target document, receives cloned pages |
| @param source source document, owns the original pages | |
| @throws IllegalArgumentException if either argument is null | |
| @throws IllegalStateException | |
importPage(sourcePage: Page) → Page | Deep-copies {@code sourcePage} into a new {@link Page} backed by a fresh |
| page dictionary registered in the target document. |