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

pdf sharp locks the jpg / unable to delete
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1628
Page 1 of 1

Author:  georgegoodeluinas [ Wed Apr 20, 2011 7:48 pm ]
Post subject:  pdf sharp locks the jpg / unable to delete

while creating a pdf document in pdf sharp, once I issue the following command "gfx.DrawImage(XImage.FromFile(000001.jpg), 60, 150)" the file becomes locked and I can not delete it. Even if I save and close the pdf document. The file can only be deleted after the vb.net program exits. The problem is that I need to delete these jpg images before the program exits, or I wind up with thousands of jpg files that need cleaned up.
Thanks
George

Author:  Thomas Hoevel [ Thu Apr 21, 2011 7:14 am ]
Post subject:  Re: pdf sharp locks the jpg / unable to delete

See here:
viewtopic.php?p=1937#p1937

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