Exports colored text as RTF
At this time only TextStyle renderer is supported. Other styles is not exported.
Пример #1
0
 public void ToRTF(ExportToRTF output, FastColoredTextBox source)
 {
     _fileBroker.SaveWithDialog(new RtfFileType(), output.GetRtf(source));
 }
Пример #2
0
 public Exporter(ExportToHTML html, ExportToRTF rtf, IFileBroker fileBroker)
 {
     _html       = html;
     _rtf        = rtf;
     _fileBroker = fileBroker;
 }