HtmlToXamlConverter is a static class that takes an HTML string and converts it into XAML
        public static string ConvertRtfToHtml(string rtfText)
        {
            var xamlText = string.Format(FlowDocumentFormat, ConvertRtfToXaml(rtfText));

            return(HtmlFromXamlConverter.ConvertXamlToHtml(xamlText, false));
        }
Exemplo n.º 2
0
 public string ConvertXamlToHtml(string xamlText)
 {
     return(HtmlFromXamlConverter.ConvertXamlToHtml(xamlText, false));
 }