We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Convert to Html document

Thread ID:





94856 Jun 6,2010 08:02 AM UTC Jun 8,2010 12:01 PM UTC ASP.NET Web Forms (Classic) 3
Tags: DocIO
chagit gudesblat
Asked On June 6, 2010 08:02 AM UTC


I use with DocIO for create new html document from Docx,
but I have some problems:

1. When the document is Right to Left, after saving it become to Left to Right.

2. When the document contain a picture, the picture is disappear after convert to html.

3. I have email address or phone in the document, and it show inverse. e.g.: aaa@gmail.com -> com.gmail@aaa

How can I resolve these problems?

Rajendran [Syncfusion]
Replied On June 7, 2010 07:34 AM UTC

Hi Chagit,

Thank you for your interest in Syncfusion products.

Regarding Right to Left and email address in reverse order:
Currently we don’t support RTL (Right to Left) format in Doc to HTML conversion.
Regarding picture disappearance:
Please provide a sample to reproduce the issue to investigate further.

Please let us know if you have any other questions.


chagit gudesblat
Replied On June 8, 2010 06:05 AM UTC


Thank you for answer.

Regarding picture disappearance:
I attached sample.



Rajendran [Syncfusion]
Replied On June 8, 2010 12:01 PM UTC

Hi Chagit,

Thank you for your update.

Regarding picture disappearance:
The image location is not properly mapped to the HTML file. Please refer the modified sample attached below. The converted file and the images should be in same folder to be properly mapped.

To map the image we have used the below code snippet in your code.
//Explicitly specify the Image Export Folder
newDocument.SaveOptions.HtmlExportImagesFolder = @".";

Please refer the code snippet in our online sample for further reference.


Code Snippet:
//Export the doc to HTML and save as .html file
string strHtml = Server.MapPath("doctohtml.html");
doc.SaveOptions.HtmlExportImagesFolder = this.Server.MapPath(string.Empty);

Please let us know if you have any other questions.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon