I am using iTextsharp to generate a table and print in pdf formant. I am able to use colspan but when i try to use rowspan on PdfPCell it is unable to recognize it. I get "no definition for rowspan"
PdfPTable table = new PdfPTable(9);
table.WidthPercentage = 90f;
//set column widths
int[] firstTablecellwidth = { 20, 10, 5, 5, 10, 10,10,10,10 };
table.SetWidths(firstTablecellwidth);
doc1.Add(p1);
table.AddCell("Name :");
PdfPCell cell = new PdfPCell(new Phrase("Star Diamonds"));
cell.Colspan = 8;///this works fine
cell.Rowspan = 4; //does not contain definition for rowspan
table.AddCell(cell);