Correct VB is not case sensitive; anyway it was just pseudo code. I'll check the page events.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Sunday, December 03, 2006 6:56 AM To: Post all your questions about iText here Subject: Re: [iText-questions] leader Rick Roen wrote: > Well now that I try to do the footer with a table I am having a problem. > > Here is what I am doing in VB.Net (pseudo code): > > Dim phrase as Phrase = new Phrase() > Dim table as PdfPTable = new PdfPTable(1) > Table.AddCell("footer text") > Phrase.Add(table) > Dim footer as HeaderFooter = new HeaderFooter(phrase,false) > Doc.footer = footer > > The footer is rendered, but it is blank. If I add more cells to the table, > the footer height increases, but still no text is rendered. > > What do I misunderstand? Is VB case insensitive? Because you define table and use Table. Furthermore you shouldn't use class HeaderFooter. Use page events instead. 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=DEVDEV _______________________________________________ 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/ ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
