I am using a NRichTextView to programmatically generate a table and exporting it to a docx.
I have the following code to create a table with a border.
NTable table = new NTable();
table.Border = NBorder.CreateFilledBorder(NColor.Red);
table.BorderThickness = new NMargins(0,1,0,1);
I would expect this to generate a table with a red border at the top and bottom, and no border on the sides, but I get a red border on all sides. Is there a way to get a partial border?