Class RtfColorTable
Provides the functionalities of Color tables for XHTML cell.
Inheritance
System.Object
RtfColorTable
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class RtfColorTable : Object
Constructors
RtfColorTable()
Initializes a new instance of the RtfColorTable class.
Declaration
public RtfColorTable()
Methods
ToString()
Converts the data to string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | string |
UseColor(Color)
Gets an index of a color.
Declaration
public int UseColor(Color key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Color | key | Key value of a color. |
Returns
| Type | Description |
|---|---|
| System.Int32 | A color for specified key. |