Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Sep 24, 2015 7:26 am

When we convert word document to HTML then it save images in a folder.

But I want images to be inline like this

<img alt="Embedded Image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..." />

Is this possible during conversion ?

Amit_Edulogiq
 
Posts: 2
Joined: Thu Sep 24, 2015 7:15 am

Thu Sep 24, 2015 8:06 am

Hello,

Thanks for your inquiry.
Spire.Doc supports it. Please set ImageEmbedded to true.
Code: Select all
document.HtmlExportOptions.ImageEmbedded = true;


Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Thu Sep 24, 2015 8:26 am

Thanks amy.zhao :)

Works like a charm.

Amit_Edulogiq
 
Posts: 2
Joined: Thu Sep 24, 2015 7:15 am

Thu Sep 24, 2015 8:33 am

Hello,

Welcome to write to us again if you have new problems. We are here for help.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc