PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Are PdfForm files cached?
https://forum.pdfsharp.net/viewtopic.php?f=2&t=440
Page 1 of 1

Author:  jahwe2000 [ Mon Jul 28, 2008 7:30 am ]
Post subject:  Are PdfForm files cached?

Hello,

I am using PdfSharp to integrate Pdf files that are generated by another program into one PDF. Now it happns, that if I merge the PDFs, then update the source PDFs and merge again, that the old files are included, though the files are definetely new (when I open them, they show up correctly).

Is this a chaching by PdfSharp? Or does C# do such things?

regards,
Philip

Author:  Thomas Hoevel [ Mon Jul 28, 2008 8:19 am ]
Post subject: 

Hi!

Objects are cached by PDFsharp (or maybe your application, too).
This is a feature to reduce file size.

It works in our application since I close the PDF files when I no longer need them (i. e. when the destination file is completed) and free the PDFsharp objects used to create them.

Author:  jahwe2000 [ Mon Jul 28, 2008 10:46 am ]
Post subject: 

Thank you for the quick reply :)

I will try explicitly destroying the objects between after merging the PDFs

regards,
Philip

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/