Rosti Gendler wrote: > Hello, > Is there any way a check box or radio button can be added as part of the > table? Added to a table cell for example? I'm looking into an example > provided in Javadoc for RadioCheckField class. It seems like one would > need to specify the absolute location in the document (as part of > Rectangle parameter). I was hoping to avoid that.
You can add the checkbox in a cell event. Cell events are explained in section 10.2.2. Cell events are used in almost all the examples of chapter 16; for instance: http://itext.ugent.be/itext-in-action/examples/chapter16/RegisterForm1.java There's also a class FieldPositioningEvents that helps you position fields. This class is explained in section 17.2.2. br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/