Free Support Forum -

RTF to Html

<!–[if gte mso 10]> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}


I am looking for a demo that will show me how to use the Aspose.Word to convert RTF to HTML

Cheer Ash

Hi Ashley,

Thanks for your inquiry. You can easily convert any Word document (DOC, DOCX, RTF etc) to HTML format by using the following two liner code:

Document doc = new
Document(MyDir + “Document.rtf);

doc.Save(MyDir + "Document.ConvertToHtml Out.html");

Please let me know if I can be of any further assistance.

Best Regards,