Formatting text within table

Jul 9, 2015 at 5:30 PM
Hi there,

I am trying to format text inside a table I have created with no luck. I specifically want to set the spacing before and after a paragraph:
var table = _document.AddTable(4, 3);
...
table.Rows[1].Cells[0].Paragraphs.First().Append("Something").Bold();
table.Rows[1].Cells[1].Paragraphs.First().Append("Something").Bold().Alignment = Alignment.right;
 table.Rows[1].Cells[2].Paragraphs.First().Append("Something").Bold().Alignment = Alignment.right;
table.Paragraphs.ForEach(x =>
                                     {
                                         x.Font(new FontFamily("Arial"));
                                         x.FontSize(11);
                                         x.SpacingAfter(10);
                                         x.SpacingBefore(10);
                                     });
_document.InsertTable(table);
The font and size works perfectly but I cannot add any spacing - is there something I am missing?

Thanks
Jul 19, 2015 at 2:07 AM
Dude, You have posted your question at wrong place.
This place is for discussion of service of CodePlex.
Codeplex is an Open source project hosting site.
I believe you are asking something related to specific project which is hosted in CodePlex.
You won't find any answer here.
Try look for your project at [Search] at top right side of this page.