[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IFormatColor

Interface IFormatColor

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Represents the fill color specified for a threshold of a color scale conditional format or the color of the bar in a data bar conditional format.

public interface IFormatColor

Properties

Color

Returns or sets the fill color associated with a threshold for a data bar or color scale conditional formatting rule.

Color Color { get; set; }

Property Value

System.Drawing.Color

ColorIndex

Returns or sets the color index, specifying if the fill color is expressed as an index value in the current color palette.

int ColorIndex { get; set; }

Property Value

int

ThemeColor

Returns or sets one of the constants of the ColorSchemeIndex enumeration, specifying the theme color used in a threshold of a data bar or color scale conditional format.

ThemeColor ThemeColor { get; set; }

Property Value

ThemeColor

TintAndShade

Returns or sets a Single that lightens or darkens the fill color of a cell for a threshold of a data bar or color scale conditional formatting rule.

double TintAndShade { get; set; }

Property Value

double

Remarks

You can enter a number from -1 (darkest) to 1 (lightest) for the TintAndShade property. Zero (0) is neutral.