Cannot Create File Error
Posted: Tue Mar 27, 2012 8:27 pm
Hello,
When I try to save the changes to a pdf file using the method GdViewer1.SaveDocumentToPDF, I get the error "Cannot Create File" (41). I am trying to save on top of the currently displayed file.
For example, I am displaying the file "c:\temp.pdf" using the method "MyGdPicturePDF.LoadFromFile("c:\temp.pdf", False) and then saving it back using the method GdViewer1.SaveDocumentToPDF(("c:\temp.pdf"). This works fine for TIFF and JPEG files, but not for pdf's.
Any idea how I can save the changes to a pdf file?
Thanks,
Reagan
When I try to save the changes to a pdf file using the method GdViewer1.SaveDocumentToPDF, I get the error "Cannot Create File" (41). I am trying to save on top of the currently displayed file.
For example, I am displaying the file "c:\temp.pdf" using the method "MyGdPicturePDF.LoadFromFile("c:\temp.pdf", False) and then saving it back using the method GdViewer1.SaveDocumentToPDF(("c:\temp.pdf"). This works fine for TIFF and JPEG files, but not for pdf's.
Any idea how I can save the changes to a pdf file?
Thanks,
Reagan