I'm trying to convert the HTML format that has an image to the RTF format:
I use the following codes to get a string of RTF and then bind it
Dim content As String = "<
Dim htmlProvider As New HtmlFormatProvider()
Dim raddoc As RadDocument = htmlProvider.Import(content)
Dim rtfProvider As New RtfFormatProvider()
Dim rtf As String = rtfProvider.Export(raddoc)
Note the xmal code is referred from this thread http://www.telerik.com/community/forums/wpf/richtextbox/create-an-instance-of-richtextbox.aspx
So what I get when running the application is the red X image (see attached file).
Could you please advise or give me basic sample of code to address this problem?