public string GetRtf(FastColoredTextBox tb) { this.tb = tb; Range sel = new Range(tb); sel.SelectAll(); return GetRtf(sel); }
public void ToRTF(ExportToRTF output, FastColoredTextBox source) { _fileBroker.SaveWithDialog(new RtfFileType(), output.GetRtf(source)); }