But the custom property added using the below methods are shown in the Custom Tab of Document properties.
1) addHeader method of com.itextpdf.text.Document class document.addHeader("CUSTOM", "CUSTOM"); 2) setMoreInfo method of com.itextpdf.text.pdf.PdfStamper. PdfStamper stamper = new PdfStamper(reader, new FileOutputStream(dest)); HashMap<String, String> info = reader.getInfo(); info.put("CUSTOM", "CUSTOM"); stamper.setMoreInfo(info); -Deepti LEGAL NOTICE: Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this e-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please delete this e-mail and inform the sender immediately. LAURUS Infosystems, division of Laurus Labs Private Limited, with its principal place of business at Plot No. 100-101, Export Promotion Industrial Park, Whitefield, Bangalore 560066. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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