Re: [iText-questions] HR Using PageEvent vs DeprecatedGraphic Object

2007-03-09 Thread Bruno Lowagie (iText)
Mitch Freed wrote: > 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. FYI: You could control the height by using setFixedHeight on the cell

Re: [iText-questions] HR Using PageEvent vs DeprecatedGraphic Object

2007-03-08 Thread Mitch Freed
D] 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?

Re: [iText-questions] HR Using PageEvent vs DeprecatedGraphic Object

2007-03-08 Thread Bruno Lowagie (iText)
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 wit

Re: [iText-questions] HR Using PageEvent vs DeprecatedGraphic Object

2007-03-07 Thread Mitch Freed
:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Tuesday, March 06, 2007 11:23 AM To: Post all your questions about iText here Subject: Re: [iText-questions] HR Using PageEvent vs DeprecatedGraphic Object Mitch Freed wrote: > And here is a sample CS file. You need some more Go()s and the meth

Re: [iText-questions] HR Using PageEvent vs DeprecatedGraphic Object

2007-03-06 Thread Bruno Lowagie
Mitch Freed wrote: > My workaround is to call a method to keep track of the current column > width every time I call SetSimpleColumn so that the PageEvent handler > always knows the current "page" (column) width. It would be nice though > if I could get the rectangle or document passed into OnGener

Re: [iText-questions] HR Using PageEvent vs DeprecatedGraphic Object

2007-03-06 Thread Mitch Freed
06, 2007 11:23 AM To: Post all your questions about iText here Subject: Re: [iText-questions] HR Using PageEvent vs DeprecatedGraphic Object Mitch Freed wrote: > And here is a sample CS file. You need some more Go()s and the method getYLine() (or YLine in C#???) See below (and adapt to C#): C