Пример #1
0
 public static string GenerateRtf(TextEditorData data)
 {
     return(GenerateRtf(ClipboardColoredText.GetChunks(data, new TextSegment(0, data.Length)), data.ColorStyle, data.Options));
 }
Пример #2
0
 public static string GenerateRtf(TextEditorData data)
 {
     return(GenerateRtf(ClipboardColoredText.GetChunks(data, new TextSegment(0, data.Length)).WaitAndGetResult(default(System.Threading.CancellationToken)), data.ColorStyle, data.Options));
 }