Sample Visual Basic
Code to convert an HTML document to RTF.
In this sample all of the
properties of the control are used.
Where rtf2html1 is an instance of
an RTF-2-HTML control and rtf1 is an instance of an MS RichText
control.
Where Text1 is a text box that just
contains HTML.
rtf2html1.HTML_Text = Text1.Text
rtf2.TextRTF = rtf2html1.ConvertHTML2RTF
|