PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
This example shows how to extract pages:
CPDFDocument extractDocument = CPDFDocument.createDocument();
// Extract the first page of the original document and save it in a new document.
extractDocument.importPages(document, new int[]{0}, 0);