An immutable object which represents a color in a Microsoft Excel workbook.

Inheritance

constructor

public WorkbookColorInfo(Color color)

Returns WorkbookColorInfo

constructor

public WorkbookColorInfo(Color color, WorkbookColorTransform transform)

Returns WorkbookColorInfo

constructor

public WorkbookColorInfo(Color color, double tint)

Returns WorkbookColorInfo

constructor

public WorkbookColorInfo(WorkbookThemeColorType themeColorType)

Returns WorkbookColorInfo

constructor

public WorkbookColorInfo(WorkbookThemeColorType themeColorType, WorkbookColorTransform transform)

Returns WorkbookColorInfo

constructor

public WorkbookColorInfo(WorkbookThemeColorType themeColorType, double tint)

Returns WorkbookColorInfo

Gets the automatic color, which is the window text system color.

public static WorkbookColorInfo Automatic { get; }

Gets the base color associated of the .

public Color? Color { get; }

Gets the value which indicates whether the is automatic, or the window text system color.

public bool IsAutomatic { get; }

Gets the base theme color associated of the .

public WorkbookThemeColorType? ThemeColorType { get; }

Gets the to apply to the base color, from -1.0 (100% darken) to 1.0 (100% lighten).

public double? Tint { get; }

Returns the associated , or null if this instance is not associated with a transform.

public WorkbookColorTransform Transform { get; }

Determines whether the is equal to the specified object.

public override bool Equals(object obj)

Parameters

  • obj: object

Returns any

Gets the hash code for the .

public override int GetHashCode()

Returns any

Gets the actual color which will be seen in Microsoft Excel if the is used.

public Color GetResolvedColor()

Returns any

Gets the actual color which will be seen in Microsoft Excel if the is used.

public Color GetResolvedColor(Workbook workbook)

Parameters

  • workbook: Workbook

Returns any

Gets the string representation of the .

public override string ToString()

Returns any