Hi jumper4000,
Sorry to tell there's no progress and the issue could not be resolved in a short time due to the complexity.
As a workaround, you could first delete the other pages except the page you need, then save it to a new pdf document.
After that, merge it with other pdfs. If needed, you could also modify the page orders using"PdfDocument .Rearrange(int[] orderArray)"to acheive your target.
- Code: Select all
PdfDocument doc = new PdfDocument(@"original.pdf")
doc.Pages.RemoveAt(1);
doc.Pages.RemoveAt(2);
doc.SaveToFile("thePage.pdf");
string[] files = new string[] {"sample.pdf", "thePage.pdf" };
PdfDocumentBase page = PdfDocument.MergeFiles(files);
page.Save("13799.pdf");
Sincerely,
Jane
E-iceblue support team