Border.TintAndShade Property
Returns or sets a Single that lightens or darkens a color.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property TintAndShade As Object
Get
Set
'Usage
Dim instance As Border
Dim value As Object
value = instance.TintAndShade
instance.TintAndShade = value
Object TintAndShade { get; set; }
Property Value
Type: System.Object
Single
Remarks
You can enter a number from -1 (darkest) to 1 (lightest) for the TintAndShade property. Zero (0) is neutral.
Attempting to set this property to a value less than -1 or more than 1 results in a run-time error: "The specified value is out of range." This property works for both theme colors and nontheme colors.