Ah cool, didn't realise I could do that. I've created the PdfArray too 
and there it is, a beautifully restored form!

Thank you! Much appreciate the help.

On 17/09/2011 18:17, 1T3XT BVBA wrote:
> Well, in that case, you need to make a small adaptation. Instead of
> "getAsDict", you need to create a "new PdfDictionary()" for the
> /AcroForm entry and a "new PdfArray" for the /Fields. It's not rocket
> science, you know;-)


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
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

Reply via email to