Quoting [EMAIL PROTECTED]: > hi all, > I have create a report with itext. > In this report there's a table, i want marker a sector of this adding a > vertical line. > > if i want draw a vertical line, how can i do it?
Normally you should draw a line using PdfContentByte: http://www.lowagie.com/iText/tutorial/ch10.html If your table is a PdfPTable, you should look at Paulo's examples too. But you are using a Table? Do you want to mark a Cell? Then you can choose to show only the right or left part of the border of that Cell. http://www.lowagie.com/iText/examples/Chap0507.java If you want to mark a part of text that was added with document.add, the only way I can think of is using a GenericTag to retrieve the coordinates and to use Chapter 10 to draw a line using these coordinates. Bruno ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
