How to get HTML code from a paragraph

Hello,

I’m using Aspose.Words to get text data from multiples word files (over 250 files). These data are after that injected in a database and display through CKEditor.
I would like to know if it’s possible to get html text (with bold, underline, etc…) instead of “simple text”.

I know that i could have this information through ParagraphFormat but maybe you have some methods or code fragment for do that ?

Best regards,

Jérémy

Hi

Thanks for your inquiry. You can use the same approach as described here to extract HTML from Node:
https://forum.aspose.com/t/extract-text-with-formatting/73561
Hope this helps.
Best regards,