TvT wrote:
> I want to add some keys to a field dictionary - is that possible with
> any iText version (2.X and/or 5.X)?

To a field dictionary in an existing PDF or in a newly created one?

> If so, some examples or a reference to a book page would be appreciated...

Existing PDF:
get the field dictionary using PdfReader and add the key/value with 
put(). See for instance section 13.3 in the 2nd edition.

Newly created PDF:
PdfFormField extends PdfAnnotation extends PdfDictionary, so you just 
add a key and value with put().
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to