public string ConvertRtfToHtml(string rtf) { var xaml = RtfXamlConverter.ConvertRtfToXaml(rtf); return(Msft.HtmlFromXamlConverter.ConvertXamlToHtml(xaml, true)); }
public string ConvertHtmlToRtf(string html) { var xaml = Msft.HtmlToXamlConverter.ConvertHtmlToXaml(html, true); return(RtfXamlConverter.ConvertXamlToRtf(xaml)); }