[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IBorder.ThemeColor

ThemeColor Property

ThemeColor

Gets or sets the ThemeColor value associated with this border.

Use this property to read or apply a workbook theme color to the border instead of a fixed Color. If the border does not use a theme color, this property returns None. When the workbook theme changes, the displayed border color may change accordingly.

Declaration
ThemeColor ThemeColor { get; set; }
Property ThemeColor As ThemeColor
Examples
IBorder border = worksheet.Range["A1"].Borders[BordersIndex.EdgeBottom];
border.ThemeColor = ThemeColor.Accent1;
ThemeColor themeColor = border.ThemeColor;