How to create row dynamically in aspose? and how to add text to those dynamically created row??
need help…
Hi Arunava,
Please take a look over code snippet shared over Set Border Style, Margins and Padding of the Table link and in order to add rows dynamically, please simply try using following code lines.
// to add a new row to table
Aspose.Pdf.Generator.Row row2 = tab1.Rows.Add();
// add a text paragraph to table cell
row2.Cells[2].Paragraphs.Add(new Text(“Dynamic Text”));
Aspose.Pdf.Generator.Row row2 = tab1.Rows.Add();
// add a text paragraph to table cell
row2.Cells[2].Paragraphs.Add(new Text(“Dynamic Text”));
Please try using it and in case I have not properly understood your requirement, please share some details.