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.
Unfortunately, activation email could not send to your email. Please try again.

Convert html to pdf

Thread ID:

Created:

Updated:

Platform:

Replies:

105729 Nov 16,2012 10:53 AM May 29,2015 03:05 AM ASP.NET MVC (Classic) 6
loading
Tags: PDF
Jean Domagni
Asked On November 16, 2012 10:53 AM

I converted an html to pdf using you product. the  Syncfusion.HtmlConverter.Base.dll

the resulted pdf is so blurry and unreadable(please see attached file)

Is there anything I am doing wrong that could cause this?

Thank you


comboForm1_c30a8945.zip

Geetha M [Syncfusion]
Replied On November 20, 2012 07:08 AM

Hi Jean,

Thank you for your interest in Syncfusion products.

1.    Could you please check if you have Internet Explorer version 9 installed in your machine? HtmlConverter makes use of MSHTML (IE rendering engine) to convert the webpage to image. With IE 9 there is a known issue that it generates only raster image which when drawn in PDF appears blurry. You can get more information on this from the following link:

http://msdn.microsoft.com/en-us/library/ee330732(v=vs.85).aspx#iviewobject_draw

As explained, to solve this, the key FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI should be updated in the registry. Please run the utility placed in the following location to perform the above changes automatically.

Legacy Drawing.zip

Please try this and let me know if you have any questions.

Regards

Geetha


Abigail
Replied On August 14, 2013 05:26 AM

Do you enter a right code?Here is a demo code:
namespace RE__Test
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{

RasterEdgeImaging PDF = new RasterEdgeImaging();
public void ConvertPdftoHtml();
{
PDFInputFile = (@"C:/1.pdf");
PDFPageNumber = "1";
HTMLOutputFile = OutputFormat.html;
}
PDF.Save("OutputFormat.html", SaveFormat.Html);
}


KarthikeyanC [Syncfusion]
Replied On August 20, 2013 12:00 AM

Hi Abigail,

Thank you for your update.

 

The above discussion was related to converting Html to Pdf using Syncfusion components.

Syncfusion HtmlConverter makes use of MSHTML (IE rendering engine) to convert the webpage to image.

So we have to update the registry.

 

Please let us know if you have any concern.

 

Thanks,

Karthikeyan.C


Dnyani
Replied On May 26, 2015 01:07 AM

Hi Karthikeyan,

I am xamarin.forms for building croll platform app so I have to covert html file to pdf. Is syncfusion supporting for converting html to pdf in xamarin.forms ? if yes then please send me sample.


Thanks

Praveenkumar H [Syncfusion]
Replied On May 27, 2015 05:42 AM

Hi Abigali,

Currently we don’t have support for HTML to PDF conversion in Xamarin platform, we have already logged the feature request in our database.
We will update you once the feature has been implemented.

Please let us know if you need further assistance.

With Regards,
Praveen

Praveenkumar H [Syncfusion]
Replied On May 29, 2015 03:05 AM

Hi Abigali,

We would like to inform you that we have logged this as a feature request in our database. We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. Please log on to our support website to check for further updates :

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Regards,
Praveen


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.

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.

;