Ryan Andreasen wrote: > I am working with itextsharp and everything has been going well. I am > creating a dynamic PDF & AcroForm from a database. While creating the PDF > based on the data in the database I create radio buttons, checkboxes, > textfields, and multilinetextfields. Since creating pdfFormFields is > completely based on absolute positioning on the page my strategy has been to > write out a place holder (empty) paragraph and then create the pdfFormField > on top of it based on the current vertical position on the page (after > writing the empty paragraph) and the height of the multilinetextfield.
I'd use a Chunk and a generic tag event to achieve this. Or a PdfPCell with a cell event. Or a FieldPositioningEvent: http://www.1t3xt.info/examples/browse/?page=example&id=260 -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
