Free Support Forum -

Html not properly converted to doc file using Aspose.HTML for .NET (6.5 KB)
Hello Support,
While converting a html file to docx file it does not giving proper result. The inline CSS which is used in html file was not work after converting into docx file. Actual html file and resulted docx file is there in attachment. Please help, its urgent.


Can you please share complete sample code so that we may further investigate to help you out. Also please share which version of Aspose.HTML you are using on your end.

Aspose.Words.Document doc = new Aspose.Words.Document(FileUrl);
doc.Save(htmlFilePath+".docx", SaveFormat.Docx);

This is the code which we are using to convert html to docx


Can you please confirm which product of Aspose you are using on your end.

I am using a 30 days temporary licence to test this scenario.


Can you please confirm if you are using Aspose.Words or Aspose.HTML on your end.