Ekta Agarwal wrote:
> Is there a way to add a textField to a chunk?  From what I understood, I 
> can add the textField to a PdfPTable, but I was wondering if I could 
> create a chunk that has some text and then a textField?
>  
> I would appreciate any information on this. If someone to point me to 
> the right resource, that would be great.

For adding a TextField to a PdfPTable, you probably use a cell event.
For adding a TextField to a Chunk, you should use a page event;
more specifically using the onGenericTag() method in the event class,
and setGenericTag in class Chunk. This event gives you access to the
writer object and the coordinates both of which you need to add the
TextField.
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to