Ekta Agarwal wrote: > Hello: > > I am trying to construct a table which has two columns and one row. The > cells in in each column of the same row are required to have a different > height. Is this possible? When I set fixed height of the cell, the > entire row has the same height. Is there a workaround that I could use? > Maybe construct two tables side-by-side on the page?
One of the characteristics of a table is that there are rows and columns. Rows are generally separated with a straight horizontal line; columns with a straight vertical line. There's the concept of rowspan and colspan, but I can't fit your description of what you want to achieve in the 'table' concept. I think you want to add rectangles with content on a page. This is done with ColumnText, not with PdfPTable. See the code snippet on this page: http://lowagie.com/itextwiki/doku.php/filmfestival:calendar#method_drawmovie -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/