An immutable object which represents a color in a Microsoft Excel workbook.
Inheritance
object
Constructors
Section titled "Constructors"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
Properties
Section titled "Properties"Automatic
Section titled "Automatic"Gets the automatic color, which is the window text system color.
public static WorkbookColorInfo Automatic { get; } Color
Section titled "Color"Gets the base color associated of the .
public Color? Color { get; } IsAutomatic
Section titled "IsAutomatic"Gets the value which indicates whether the is automatic, or the window text system color.
public bool IsAutomatic { get; } ThemeColorType
Section titled "ThemeColorType"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; } Transform
Section titled "Transform"Returns the associated , or null if this instance is not associated with a transform.
public WorkbookColorTransform Transform { get; } Methods
Section titled "Methods"Equals(object)
Section titled "Equals(object)"Determines whether the is equal to the specified object.
public override bool Equals(object obj) Parameters
- obj:
object
Returns any
GetHashCode()
Section titled "GetHashCode()"Gets the hash code for the .
public override int GetHashCode() Returns any
GetResolvedColor()
Section titled "GetResolvedColor()"Gets the actual color which will be seen in Microsoft Excel if the is used.
public Color GetResolvedColor() Returns any
GetResolvedColor(Workbook)
Section titled "GetResolvedColor(Workbook)"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
ToString()
Section titled "ToString()"Gets the string representation of the .
public override string ToString()