To be honest, I'm appreciating so much, but the documentation is a little confused.
Now, I need to insert a new table in a Word Document.
I find this solution:
Section section = new Section(document);
Table table = section.AddTable(true);
table.ResetCells(2, 3);
TableRow Row= table.Rows[0];
for (int i = 0; i <= 3; i++)
{
Paragraph p = Row.Cells[i].AddParagraph();
TextRange txtRange = p.AppendText("Text");
}
That's work!
To be honest, I don't know how that's working, because I just set a Row.Cell into a new Paragraph, and normally, I supposed to insert a Paragraph into a Table.Cell, but no problem, the main is it works xD
But in that cell, I need to insert more than one paragraph, something like this
Hello dear,
Thanks for help me with this stuffs
I aprecciate that!
Can I set a fews Paragraph for the same Row.Cell?
That'll not overwhite?
Example:
Paragraph p = Row.Cells[i].AddParagraph();
TextRange txtRange = p.AppendText("Text");
Paragraph p2 = Row.Cells[i].AddParagraph();
TextRange txtRange = p.AppendText("Text2");
Please, simplify as much you can the Demonstration Code, if the answer will have one xD
Really thank's!!!!!