C# Class FastColoredTextBoxNS.ExportToRTF

Exports colored text as RTF
At this time only TextStyle renderer is supported. Other styles is not exported.
Afficher le fichier Open project: samarjeet27/ynoteclassic Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

ExportToRTF() public méthode

public ExportToRTF ( ) : System.Collections.Generic
Résultat System.Collections.Generic

GetColorAsString() public static méthode

public static GetColorAsString ( Color color ) : string
color System.Drawing.Color
Résultat string

GetRtf() public méthode

public GetRtf ( FastColoredTextBox tb ) : string
tb FastColoredTextBox
Résultat string

GetRtf() public méthode

public GetRtf ( Range r ) : string
r Range
Résultat string