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 ) ;

Thanks,
Joe


1T3XT info wrote:
> 
> Lake Pancake wrote:
>> I've got the same question, I think: Old forum messages indicate a
>> convenient
>> way to draw a horizontal line is with the Graphic class, but I see no
>> equivalent setHorizontalLine method in PdfContentByte.
>> 
>> Is there a high-level definition of horizontal line without resorting to
>> page coordinates?  Thanks in advance.
> 
> No, but it's relatively easy to use a Page Event that draws the line.
> -- 
> 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/migration-itext-problem%3A-missing-or-replaced-class.-tp15569463p16687652.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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

Reply via email to