Method | Description | |
---|---|---|
Close ( ) : void |
close
|
|
Dispose ( ) : void |
dispose instance
|
|
Flush ( ) : void | ||
RTFWriter ( System w ) : System |
Initialize instance
|
|
RTFWriter ( string strFileName ) : System |
Initialize instance
|
|
WriteByte ( byte b ) : void |
write a byte data
|
|
WriteBytes ( byte bs ) : void |
write binary data
|
|
WriteEndGroup ( ) : void |
end write group
|
|
WriteGroup ( string KeyWord ) : void |
write completed group wich one keyword
|
|
WriteKeyword ( string Keyword ) : void |
write keyword
|
|
WriteKeyword ( string Keyword, bool Ext ) : void |
write keyword
|
|
WriteRaw ( string txt ) : void |
write raw text
|
|
WriteStartGroup ( ) : void |
begin write group
|
|
WriteText ( string Text ) : void |
write plain text
|
|
WriteText ( string Text, bool AutoAddWhitespace ) : void |
write plain text, can choose write a white space automatic
|
|
WriteUnicodeText ( string text ) : void |
Method | Description | |
---|---|---|
FixIndent ( ) : void | ||
InnerWrite ( char c ) : void | ||
InnerWrite ( string txt ) : void | ||
InnerWriteChar ( char c ) : void | ||
InnerWriteNewLine ( ) : void | ||
TestBuildRTF ( |
Test to generate a little rtf document
|
|
TestClipboard ( ) : void |
Test generate rtf text and copy to windows clipboard after execute this function , you can paste rtf text in MS Word
|
|
TestWriteFile ( ) : void |
Test generate rtf file after execute this function you can open c:\a.rtf
|
|
WriteIndent ( ) : void |
public RTFWriter ( string strFileName ) : System | ||
strFileName | string | file name |
return | System |
public WriteGroup ( string KeyWord ) : void | ||
KeyWord | string | keyword |
return | void |
public WriteKeyword ( string Keyword ) : void | ||
Keyword | string | keyword |
return | void |
public WriteKeyword ( string Keyword, bool Ext ) : void | ||
Keyword | string | keyword |
Ext | bool | whether extern key word |
return | void |
public WriteText ( string Text, bool AutoAddWhitespace ) : void | ||
Text | string | text |
AutoAddWhitespace | bool | wirte a white space automatic |
return | void |
public WriteUnicodeText ( string text ) : void | ||
text | string | |
return | void |