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:

Created:

Updated:

Platform:

Replies:

95460 Jul 9,2010 08:33 AM Jul 15,2010 03:01 AM Windows Forms 1
loading
Tags: PDF
FeliceR
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)

pdf.Save("c:\tmp\testpdf\totale.pdf")
pdf.Close(True)

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:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=95460578662812.zip

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

Regards,
Angappan.

CONFIRMATION

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.

;