That worked, thanks for the help Bruno.

I just created a 1-row, 1-column table with a bottom border and added an
empty string to the table. If I added anything to the table it increased
it's height.

Thanks,
-Mitch

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bruno Lowagie (iText)
Sent: Thursday, March 08, 2007 2:19 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] HR Using PageEvent vs DeprecatedGraphic
Object

Mitch Freed wrote:
> How else can I generate an HR style line if a generic tag won't work?

Maybe you can add a 1-row, 1-column table.
Define the cell border so that only one line is shown.
You can define the width of the table as a percentage.

Another solution would be to create a PdfTemplate with the dimensions of
your choice (but then you'll have to do some calculations).
Draw a line on the PdfTemplate (any way you want to).
Wrap the PdfTemplate in an Image.
Add the Image to the document or the ColumnText object.

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=DEVDE
V
_______________________________________________
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/

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

Reply via email to