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

How does PDFSharp Handle Overwriting Files?
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1969
Page 1 of 1

Author:  trepalium [ Sun Apr 01, 2012 5:38 am ]
Post subject:  How does PDFSharp Handle Overwriting Files?

I'm working on a project that is taking scanned images from a clinical system and converting them to PDFs. My question is this: How does PDFSharp handle duplicate file names?

I have a newly update document I need to convert to PDF that has to have the same name as the old PDF. Does PDFSharp automatically overwrite the old one, or is there a mechanism for specifying this?

I searched on the board, wiki, google, etc. I couldn't seem to come up with an answer. Maybe I'm using the wrong terminology.


Thanks!
-Trep

Author:  () => true [ Sun Apr 01, 2012 10:55 am ]
Post subject:  Re: How does PDFSharp Handle Overwriting Files?

trepalium wrote:
How does PDFSharp handle duplicate file names?
If you save a new file with a certain name, an older file with the same name will be overwritten.

PDFsharp is just a library. The application that uses PDFsharp can rename the existing file to preserve the previous version.

Author:  trepalium [ Sun Apr 01, 2012 2:48 pm ]
Post subject:  Re: How does PDFSharp Handle Overwriting Files?

Perfect! Thank you!

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