On 24/08/2011 9:46, Khatri Anand wrote: > now I want to get Font Properties of pdf file as well as TextField, > RadioCheckField ect. > so how can I get Font Properties? For this you need to download ISO-32000-1 (the PDF specification). If you go to the Adobe.com site, you can find a version that you can download for free. The URL tends to change once in a while, but using Google you should be able to find it.
In this spec, you'll find plenty of tables explaining the different entries in a field / widget annotation dictionary. The font is one of the entries in the widget annotation dictionary. It will refer to a font dictionary; this dictionary is also explained in ISO-32000-1. Once you've worked yourself through the specs, you can use iText to retrieve all the necessary information from your PDF. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ 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
