Hello,
I have a project for which I choose to use itext for generating pdfs,
on a web page, which is pdf you select some data, press the generate button,
and the php calls a java application with some parameters which generates
the pdf,
so since the pdf makes a system call the two parts are not
In my code, I've created a pdf file using itextsharp.
Somewhere in my code, I'm opening something and not closing it
properly. I'm trying to delete the pdf after creating, but I keep
getting an error that it's in use by a process. Any help appreciated.
Dim FormFile As String = form.pdf
PdfStamper.Close() closes the file, check if you can delete the file right
after it.
Paulo
- Original Message -
From: Kevin Blackwell akblack...@gmail.com
To: itext-questions@lists.sourceforge.net
Sent: Sunday, October 18, 2009 5:33 PM
Subject: [iText-questions] deleting a pdf after
Paulo,
Thanks for the comments,
But still wont let me delete. I missed a line when posting, but I added
stamper.Close()
But I still get
Dim FormFile As String = form.pdf
Dim outFile As String = Out.pdf
Dim reader As New PdfReader(FormFile)
Dim Fstream As
My question is if you can delete right after stamper.Close().
Paulo
- Original Message -
From: Kevin Blackwell akblack...@gmail.com
To: Post all your questions about iText here
itext-questions@lists.sourceforge.net
Sent: Sunday, October 18, 2009 6:09 PM
Subject: Re: [iText-questions]
Hi all
I'm having a problem creating a pdf file with iText in java that can be read
properly by abode acrobat. I seem to have tracked the problem down to
PdfContentByte
I've created a short test program (below). This views ok with foxit reader
but comes as a blank page in acrobat9
Post an Actual PDF
From: S Gallaghan [mailto:sgallag...@energyts.com]
Sent: Sunday, October 18, 2009 6:33 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] acrobat error
Hi all
I'm having a problem creating a pdf file with iText in java that can be read
properly by
Sorry found the problem.
Wasn't using beginText();
And endText();
8-)
From: Leonard Rosenthol [mailto:lrose...@adobe.com]
Sent: Monday, 19 October 2009 3:29 p.m.
To: Post all your questions about iText here
Subject: Re: [iText-questions] acrobat error
Post an Actual PDF..
From:
It's a classpath error that seems to emanate from your com.xxx.pdf... app in
its call to iText. Looking at your classpath, I see that you're linking to
itext.jar, which is not a standard name for an iText jar.
Check your classpath. Netbeans can generate an Ant file to run your app.
Look at its