And here is a sample CS file.
 
-Mitch
 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mitch Freed
Sent: Tuesday, March 06, 2007 9:48 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] HR Using PageEvent vs Deprecated Graphic
Object


I'm using iTextSharp v4.0.1
 
With the Graphic class no longer supported, I am having a hard time
implementing the equivalent of an Html HR tag. I am attempting to do the
HR using a GenericTag event, but am having problems with the dimensions
of the rectangle. In my case I am using ColumnText to control my page
margins, ect. I would like the rectangle passed into OnGenericTag to be
the total width of the column the chunk is being added to, so I embedded
the chunk in a PdfPTable with the WidthPercentage set to 100 percent,
but my rectangle comes in with left and right set to the same value. I
cannot see anything to do to get the rectangle to represent the width of
the column.
 
Any help is appreciated.
 
Thanks, 
 
Mitch Freed
Email: [EMAIL PROTECTED]
 

Attachment: Program.cs
Description: Program.cs

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