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

Free Support Forum - aspose.com

Aspose.Word DOC To Html. Word object to picture problem

Dear Aspose Team:
Insert MathType mathematical formula in Word (need to install MathType6.0 or more version)
Click the insert object in Word - select MathType to open.
Enter formula (see attachment doc document)
Using Aspose.Word in C# code, turn the Word document into HTML, and the code is as follows:
Document demoDoc = new Document(@“E:\Demo.doc”, loadOptions);
demoDoc.Save(@“E:\Demo.html”, SaveFormat.Html);
The saved HTML automatically transforms the formula in the Word to the image and generates the HTML file at the same time
Emerging problems:
After saving the picture, the format of the formula has changed, and some of the symbols have passed.
The formula is messy when you browse the HTML file.
Please refer to the attachment.
Thanks.
AsposeWord Demo.zip (8.8 KB)

Dear Aspose Team:
Insert MathType mathematical formula in Word (need to install MathType6.0 or more version)
Click the insert object in Word - select MathType to open.
Enter formula (see attachment doc document)
Using Aspose.Word in C# code, turn the Word document into HTML, and the code is as follows:
Document demoDoc = new Document(@“E:\Demo.doc”, loadOptions);
demoDoc.Save(@“E:\Demo.html”, SaveFormat.Html);
The saved HTML automatically transforms the formula in the Word to the image and generates the HTML file at the same time
Emerging problems:
After saving the picture, the format of the formula has changed, and some of the symbols have passed.
The formula is messy when you browse the HTML file.
Please refer to the attachment.
Thanks.
AsposeWord Demo.zip (8.8 KB)

@dhzhao2016,

Thanks for your inquiry. We have tested the scenario using latest version of Aspose.Words for .NET 17.10 and have not found the shared issue. Please use Aspose.Words for .NET 17.10. We have attached the output HTML with this post for your kind reference. output.zip (2.2 KB)