[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IBorders.TintAndShade

TintAndShade Property

TintAndShade

Gets or sets the tint and shade value applied to the outer and inside borders in the collection.

The value ranges from -1 (darkest) to 1 (lightest), and 0 is neutral. The default value is 0. To set a diagonal border, use this[BordersIndex] with DiagonalDown or DiagonalUp.

Declaration
double TintAndShade { get; set; }
Property TintAndShade As Double
Examples
IBorders borders = worksheet.Range["B2:E6"].Borders;
borders.LineStyle = BorderLineStyle.DashDot;
borders.ThemeColor = ThemeColor.Accent2;

borders.TintAndShade = 0.5;

double tintAndShade = borders.TintAndShade;