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