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.Co…...Set border color to theme color Aspose.Words Product Family words-net...following code to set the border color to Accent1. var border = doc...