Profile Picture

Border Thickness not behaving as expected

Posted By Michaela Griffiths 2 Years Ago
Author
Message
Michaela Griffiths
Posted 2 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 1, Visits: 26
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?







Similar Topics


Reading This Topic