PdfPTable table = new PdfPTable(5); PdfPTable pdft; for (int j = 1; j < 6; j++) { for (int i = 1; i < 6; i++) { pdft = new PdfPTable(1); pdft.WidthPercentage = 100f; pdft.DefaultCell.Border = 0; pdft.AddCell("C" + j.ToString() + i.ToString()); table.AddCell(pdft); } } pdfDoc.Add(table);
Paragraph paragraphTable = new Paragraph(); paragraphTable.SpacingAfter = 10f;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)