writing more than one pdf docs with the same PDFDocument object

Hello! Is there a way to do that? I tried to remove all the pages but after that, the PDFDocument doesn''t seem to be able to draw anything (after saving, the pdf doc is empty). Thanks Liat

3 Replies

AJ Ajish Syncfusion Team June 30, 2006 03:06 PM UTC

Hi Liat, Sorry for the delay in getting back to you. Can you please clarify your requirements, Do you need to remove all pages of the pdf document and then add some new contents to the pdf. Here is a sample for doing this: Sample.zip Please take a look and let me know if you have any questions. Thanks, Ajish.


LI Liat July 2, 2006 06:35 AM UTC

Hi Ajish I added the line: pdfDoc.Save("Sample1.pdf"); before the removal of the page in your sample. My purpose is to create more than one saved documents with the same PDFDocument object. After adding this line and run the program, the second document - "Sample.pdf" is empty. Thanks, Liat


AJ Ajish Syncfusion Team July 3, 2006 05:17 AM UTC

Hi Liat, Sorry for the inconvenience, I was able to reproduce the issue. I have created a bug report regarding this and you can track the status of the issue from the following link. http://www.syncfusion.com/support/issues/pdf/Default.aspx?ToDo=view&questId=2317 Please take a look and let me know if you any questions. Thanks, Ajish.

Loader.
Up arrow icon