razvanb wrote:
> using
> TextField(that has no setWidget method).

As explained in the book TextField is a convenience class
that helps you create a PdfFormField without having to think
about all those dictionary keys and values. A PdfFormField
is created behind the scenes.
However, if you need stuff that isn't supported by this
convenience class, you can always use getTextField() to
get the actual PdfFormField and continue working on that
object. This is done for instance on p498, etc...
So if you have a TextField and need a PdfFormField (which
is the same), you can use the method getTextField().
http://www.1t3xt.info/api/com/lowagie/text/pdf/TextField.html#getTextField()
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to