OColor module

class OColor.OColor

Bases: SpireObject

<summary>

This object used to store, convert colors.

</summary>

property ColorType: ColorType
<summary>

Returns type of the stored color.

</summary>

Dispose()
Equals(obj: SpireObject) bool
<summary>

Determines whether the specified Object is equal to the current Object.

</summary> <param name=”obj”>The Object to compare with the current Object.</param> <returns>true if the specified Object is equal to the current Object; otherwise, false.</returns>

GetHashCode() int
<summary>

Returns the hash code for this instance.

</summary> <returns>A 32-bit signed integer hash code.</returns>

GetKnownColor(book: Workbook) ExcelColors
SetKnownColor(value: ExcelColors)
<summary>

Sets known color.

</summary> <param name=”value”>Excel color to set.</param>

SetRGB(rgb: Color, book: IWorkbook, dTintValue: float)
SetTheme
property Tint: float
<summary>

Gets or sets Tint.

</summary>

property Value: int
<summary>

Returns color value (it can be index, rgb color, etc.)

</summary>