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.
The steps to split pages are as follows:
CPDFDocument object for each part to be split.CPDFDocument objects.This example shows how to split pages:
CPDFDocument documentPart1 = CPDFDocument.CreateDocument();
// Split the first and second pages into separate sections.
documentPart1.ImportPagesAtIndex(document, "1-2", 0);
CPDFDocument documentPart2 = CPDFDocument.CreateDocument();
// Split the third, fourth, and fifth pages into the second section.
documentPart2.ImportPagesAtIndex(document, "3-5", 0);