C# Class RtfDomParser.RTFColorTable

Mostrar archivo Open project: SourceCodeBackup/RtfDomParser Class Usage Examples

Public Methods

Method Description
Add ( System c ) : void

add color to list

Clear ( ) : void

����б�

Clone ( ) : RTFColorTable

���ƶ���

GetColor ( int index, System DefaultValue ) : System.Drawing.Color

get color at special index , if index out of range , return default color

IndexOf ( System c ) : int

get color index

RTFColorTable ( ) : System

initialize instance

Remove ( System c ) : void

delete special color

Write ( RTFWriter writer ) : void

�����ɫ��

this ( int index ) : System.Drawing.Color

get color at special index

Method Details

Add() public method

add color to list
public Add ( System c ) : void
c System new color value
return void

Clear() public method

����б�
public Clear ( ) : void
return void

Clone() public method

���ƶ���
public Clone ( ) : RTFColorTable
return RTFColorTable

GetColor() public method

get color at special index , if index out of range , return default color
public GetColor ( int index, System DefaultValue ) : System.Drawing.Color
index int index
DefaultValue System default value
return System.Drawing.Color

IndexOf() public method

get color index
public IndexOf ( System c ) : int
c System color
return int

RTFColorTable() public method

initialize instance
public RTFColorTable ( ) : System
return System

Remove() public method

delete special color
public Remove ( System c ) : void
c System color value
return void

Write() public method

�����ɫ��
public Write ( RTFWriter writer ) : void
writer RTFWriter RTF�ĵ���д��
return void

this() public method

get color at special index
public this ( int index ) : System.Drawing.Color
index int
return System.Drawing.Color