I used the following code to set the border color to Accent1.
var border = doc.Styles[StyleIdentifier.Heading1].ParagraphFormat.Borders[BorderType.Bottom]; border.LineStyle = LineStyle.Solid; border.Color = doc.Theme.Colors.Accent1;
When I change the Accent 1 theme color in Word, the border color does not change accordingly.
Font class has a
ThemeColor property that allows me to specify a theme color. However, there is on similar properties in the
Border class. How do I properly set the border color to a