Profile Picture

Border Thickness not behaving as expected

Posted By Michaela Griffiths 3 Years Ago

Border Thickness not behaving as expected

Author
Message
Michaela Griffiths
Posted 3 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: Last Year
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

4 active, 4 guests, 0 members, 0 anonymous.
No members currently viewing this topic!