Border Thickness not behaving as expected


Author
Message
Michaela Griffiths
Michaela Griffiths
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
Posts: 1, Visits: 36
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?



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search