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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to make DocIO to honor the setting in HTML tag 'style' (using AppendHTML)

Thread ID:

Created:

Updated:

Platform:

Replies:

107913 Mar 22,2013 10:35 AM UTC Mar 25,2013 09:12 AM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: DocIO
Wind
Asked On March 22, 2013 10:35 AM UTC

Hi, 

I've string in HTML format such as

string s = "AAAA<img src='sampleimage.png' style='width: 100px; height: 50px' />"

And I Append this string to my paragraph object. It can generate doc file with image inside beautifully.

But it seem that the DocIO doesn't honor style=width/height properly.

I've search through and found a thread very close to my problem at
http://www.syncfusion.com/support/forums/docio-aspnet/106177/Export-Image-from-HTML-to-Word

But the sample solution files provided had manually modified from "style tag" to tradition "width/height tag" like this 
string s = "AAAA<img src='sampleimage.png' width='100pt' height='50pt' />"

My problem is , my HTML data string is heavily rely on "Style tag" , plus they also using px not pt as the scale. 

How to make use of my original HTML data.

Best regards,
Shin K.

Wind
Replied On March 22, 2013 10:47 AM UTC

Extra information:
I'm using VS2010 on Win7 64 bits. 
With Syncfusion Studio 11.1.0.21 (purchased version)

Siva Subramanian [Syncfusion]
Replied On March 25, 2013 09:12 AM UTC

Hi Shin,

Thank you for your using Syncfusion products.

Could you please report this issue through Direct Trac Developer Support System (https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents because you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time and we hope you will take advantage of this system as well. If you have already reported, please ignore this.

Regards,

Sivasubramanian


CONFIRMATION

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.

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

;