C# Class FastColoredTextBoxNS.ExportToRTF

Exports colored text as RTF
At this time only TextStyle renderer is supported. Other styles is not exported.
ファイルを表示 Open project: samarjeet27/ynoteclassic Class Usage Examples

Public Methods

Method Description
ExportToRTF ( ) : System.Collections.Generic
GetColorAsString ( Color color ) : string
GetRtf ( FastColoredTextBox tb ) : string
GetRtf ( Range r ) : string

Private Methods

Method Description
Flush ( StringBuilder sb, StringBuilder tempSB, StyleIndex currentStyle ) : void
GetColorTableNumber ( Color color ) : int
GetRtfDescriptor ( StyleIndex styleIndex ) : RTFStyleDescriptor

Method Details

ExportToRTF() public method

public ExportToRTF ( ) : System.Collections.Generic
return System.Collections.Generic

GetColorAsString() public static method

public static GetColorAsString ( Color color ) : string
color System.Drawing.Color
return string

GetRtf() public method

public GetRtf ( FastColoredTextBox tb ) : string
tb FastColoredTextBox
return string

GetRtf() public method

public GetRtf ( Range r ) : string
r Range
return string