Put the line inside a template and then put the template inside an Image; then put the Image inside a Chunk and use the Chunk as any other text. An alternative is to use a PdfPTableEvent if you are using a PdfPTable. Other option is to create an Image 1x1 pixels and then scale it to occupy a line.
Best Regards, Paulo Soares > -----Original Message----- > From: Benjamin Sommerfeld [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 24, 2002 9:53 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Horziontal Line in Table > > Hi guys > > is it possible to set a horizontal line into a table? > I tried it, but the line didn't appear. > > Graphic line = new Graphic(); > line.setHorizontalLine(2,100,black); > table.addCell(line); > > When I add the line to the document without any table it's no problem. > But I really would appreciate having a line in my table.... > > So, is it possible? > > > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
