This question is a repost that was already answered.
Paulo
________________________________
From: 1T3XT BVBA [mailto:[email protected]]
Sent: Tuesday, February 22, 2011 1:42 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] ITextSharp question
Op 22/02/2011 14:27, Brian English schreef:
Hi,
I posted to the itextsharp mailing list and got a response that it had been
closed, and to use the itext mailing list. Maybe someone can help me with this?
You should walk before you run: can you get it working in a standalone
environment?
If not, debug that standalone example first.
If so, move the code over to your web app.
A corrupt pdf is being sent, so it is working, almost, however, I think I may
have some misunderstandings on how some of this works.
What does the quote mean in the following line:
'pdfStamper.Close()
Aren't single quotes a way to comment out code?
If so, that's the reason why your PDF is corrupt.
A PdfStamper always needs to be closed.
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk
Collect, index and harness all the fast moving IT data generated by your
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights.
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php