Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the most efficient way to merge PDF pages?

merge pages PDF
0
10 Posted

What is the most efficient way to merge PDF pages?

0

Customers using .NET version of PDFNet and working with large documents can dramatically increase the performance by saving a file to a temporary file instead to a memory buffer. The real performance bottleneck is related to .NET data-marshaling and not PDF merging. Merging performance can also be increased by merging original documents instead of copying all pages to a new document. Instead of copying all pages to a new document you can simply append or delete pages in the source document. Note that PDFDoc.Save(…) is not altering the original document unless the filename matches the original filename. Another optimization tip is to use PDFDoc.ImportPages() to efficiently copy a page set from one document to another. See Copying/Merging Pages for details.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123