We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose Word RTF to HTML

Dear Sir,
I am trying to convert the following RTF text to HTML using the Aspose converter.
RTF text:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fcharset0 Times New Roman;}{\f1\fnil\fcharset2 Symbol;}} \viewkind4\uc1\pard{\pntext\f1\'B7\tab}{\*\pn\pnlvlblt\pnf1\pnindent0{\pntxtb\'B7}}\lang1024\f0\fs24 Bullet1\par {\pntext\f1\'B7\tab}Bullet2\par }

The bullet are not converted correctly to HTML format.

Note: we are using the RTF RichTextBox Control of the visual studio.

Please, Do you have any idea about the issue?


Hi Sara,

Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does. If you open your RTF in MS Word, you will get the same output. Please check the attached input.rtf. We have also attached the output html with this post for your kind reference.

The input.rtf is generated by using following steps.

1) Open notepad and paste the rtf contents in it.
2) Save the file with name “input.rtf”