OColor Class | 
Namespace: Spire.Xls
The OColor type exposes the following members.
| Name | Description | |
|---|---|---|
| 
 | 
OColor | 
 
Initializes a new instance of the OColor class.
 
 | 
| 
 | 
OColor(Color) | 
 
Initializes a new instance of the
OColor
class with the specified RGB color.
 
 | 
| Name | Description | |
|---|---|---|
| 
 | 
ColorType | 
 
Returns type of the stored color.
 
 | 
| 
 | 
Tint | 
 
Gets or sets Tint.
 
 | 
| 
 | 
Value | 
 
Returns color value (it can be index, rgb color, etc.)
 
 | 
| Name | Description | |
|---|---|---|
| 
 | 
Dispose | 
 
Releases all resources used by the
Object
.
 
 | 
| 
 | 
Equals | 
 
Determines whether the specified Object is equal to the current Object.
 
(Overrides
Object
Equals(Object)
.)
 | 
| 
 | 
Finalize | 
 
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
 
(Inherited from
Object
.)
 | 
| 
 | 
GetHashCode | 
 
Returns the hash code for this instance.
 
(Overrides
Object
GetHashCode
.)
 | 
| 
 | 
GetKnownColor | 
 
Retrieves the known color from the workbook.
 
 | 
| 
 | 
GetThemeColor | 
 
Gets theme color.
 
 | 
| 
 | 
GetType | 
 
Gets the
Type
of the current instance.
 
(Inherited from
Object
.)
 | 
| 
 | 
MemberwiseClone | 
 
Creates a shallow copy of the current
Object
.
 
(Inherited from
Object
.)
 | 
| 
 | 
SetKnownColor | 
 
Sets known color.
 
 | 
| 
 | 
SetRGB | 
 
Sets rgb color.
 
 | 
| 
 | 
SetTheme(Int32, IWorkbook) | 
 
Sets theme color.
 
 | 
| 
 | 
SetTheme(Int32, IWorkbook, Double) | 
 
Sets theme color
 
 | 
| 
 | 
ToString | 
 
Returns a string that represents the current object.
 
(Inherited from
Object
.)
 |