We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Merging PDF

Thread ID:





95460 Jul 9,2010 08:33 AM Jul 15,2010 03:01 AM Windows Forms 1
Tags: PDF
Asked On July 9, 2010 08:33 AM

I'm trying to append 900 PDF files for creating an unique PDF file.
The operation is OK, but all the PDFs all loaded in memory.
The code for the operation is:

Dim paths() As String = Directory.GetFiles("c:\tmp\testpdf\949pdf")

Dim pdf As PdfDocument = PdfDocument.Merge(paths)


The memory increases a lot.
Is there a way for avoid loading all PDF files in memory? ...or for flushing memory?

Angappan G [Syncfusion]
Replied On July 15, 2010 03:01 AM

Hi Felice,

Thank you for your interest in Essential Studio.

We can reduce the memory usage by merging one document at a time,please refer the sample for more details.

Sample Link:

Please try this and let us know if you have any queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.