Free Support Forum -

How to convert HTML to a DOCX file in C#

I am converting a very simple html document to docx and the result does not look very good.

At least not on Word 2016.

Both files are attached to this message.

I am using Groupdocs Conversion and running the example project.

Headings are on same row as text, no support for ul-lists etc.
Is there something to be done about this?


We’d recommend you to migrate to API version 20.x (20.6 more preferably). Have a look at the migration and release notes.
We’ve simplified the document conversion process:

using (Converter converter = new Converter(source document path))
    PdfConvertOptions convertOptions = new PdfConvertOptions();
    converter.Convert(outputPath, convertOptions);

The issues you have found earlier (filed as CONVERSIONNET-740) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by groupdocs.notifier.