The PDF version (1.7 for example) can be set in two ways:
(1) writer.SetPdfVersion(PdfWriter.PDF_VERSION_1_7)
(2) writer.PdfVersion = PdfWriter.VERSION_1_7
Results:
(1) Header: %PDF-1.4; Catalog: /Version/1.7
(2) Header: %PDF-1.7; Catalog: -
In both cases Adobe Reader reports that the version is 1.7.
Imho it's a bit confusing that method (1) always writes PDF-1.4 in the header
(the first thing that is seen when the file content is checked), even though
the version is set correctly in the catalog. Is there a purpose for the
different results? Are there any objections against using both methods to set
the version at both locations?
Thanks,
Govert
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
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