Having read the book, I used the following to set the output PDF version
with no success:
writer = PdfWriter.getInstance(document,new
FileOutputStream(getOutputFile()));
writer.setPdfVersion(PdfWriter.PDF_VERSION_1_2);
however after reading on, I tried the single character version:
writer.setPdfVersion('2');
and that works perfectly. I think you may have a feature in 2.0.4
regards
Rob Daykin
***********************************************************************************
This e-mail and attachments are intended for the above name only and may be
confidential. If they have come to you in error, you must take no action based
on them, nor must copy or show them to anyone; please reply to this e-mail and
report the error.
Security warning: Please note that this e-mail has been created in the
knowledge that the internet is not a one hundred percent secure communication
medium. We advise that you understand and observe this lack of security when
e-mailing us.
Virus: Although we have taken steps to ensure that this e-mail and attachments
are free from any virus, we advise that in keeping with good practice the
recipient should ensure they are actually virus free. If you have received
this e-mail in error please notify:
[EMAIL PROTECTED]
This message has been scanned for viruses by MailControl - www.mailcontrol.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/