Some test text!

Split PDF pages

To split a PDF document into multiple pages.

PDFDoc in_doc = new PDFDoc(input_path + "newsletter.pdf");
int page_num = in_doc.GetPageCount();
for (int i = 1; i <= page_num; ++i)
    PDFDoc new_doc = new PDFDoc();
    new_doc.InsertPages(0, in_doc, i, i, PDFDoc.InsertFlag.e_none);
    new_doc.Save(output_path + "newsletter_split_page_" + i + ".pdf", SDFDoc.SaveOptions.e_remove_unused);

Merge, Copy, Delete, and Rearrange PDF Pages
Full code sample which illustrates how to copy pages from one document to another, how to delete, and rearrange pages and how to use ImportPages().

Get the answers you need: Support