An immutable object which represents a color in a Microsoft Excel workbook.
Constructors
Section titled "Constructors"WorkbookColorInfo
new WorkbookColorInfo(): WorkbookColorInfo Returns WorkbookColorInfo
Properties
Section titled "Properties"$t: Type Accessors
Section titled "Accessors"color
Section titled "color"Gets the base color associated of the [[WorkbookColorInfo]].
get color(): any Returns any
isAutomatic
Section titled "isAutomatic"Gets the value which indicates whether the [[WorkbookColorInfo]] is automatic, or the window text system color.
get isAutomatic(): boolean Returns boolean
themeColorType
Section titled "themeColorType"Gets the base theme color associated of the [[WorkbookColorInfo]].
get themeColorType(): WorkbookThemeColorType Returns WorkbookThemeColorType
Gets the to apply to the base color, from -1.0 (100% darken) to 1.0 (100% lighten).
get tint(): number Returns number
transform
Section titled "transform"Returns the associated [[WorkbookColorTransform]], or null if this instance is not associated with a transform.
get transform(): WorkbookColorTransform Returns WorkbookColorTransform
automatic
Section titled "automatic"Gets the automatic color, which is the window text system color.
get automatic(): WorkbookColorInfo Returns WorkbookColorInfo
Methods
Section titled "Methods"equals
Section titled "equals"Determines whether the [[WorkbookColorInfo]] is equal to the specified object.
equals(obj: any): boolean Parameters
- obj:
anyThe object to test for equality.
Returns boolean
getHashCode
Section titled "getHashCode"Gets the hash code for the [[WorkbookColorInfo]].
getHashCode(): number Returns number
getResolvedColor
Section titled "getResolvedColor"Gets the actual color which will be seen in Microsoft Excel if the [[WorkbookColorInfo]] is used.
getResolvedColor(): string Returns string
toString
Section titled "toString"Gets the string representation of the [[WorkbookColorInfo]].
toString(): string