Joe G wrote: > I have recently updated my version of iText. After much searching I was > unable to see any direct advice on how to replace Graphic's > setHorizontalLine(). I want to append a line below some tables I have added > to the document. I am concerned about how to do this using relative > coordinates. What can I use to replace this old code? > > //horizontal line under the tables > Graphic g = new Graphic() ; > g.setHorizontalLine( 1f, 100f ) ; > mPDFDoc.add( g ) ;
This is one possible way to do it: http://www.1t3xt.info/examples/browse/?page=example&id=116 There are other ways, but to make the best choice we should know more about the context. br, Bruno ------------------------------------------------------------------------- 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 [email protected] 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
