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. Image for the cookie policy date

HTML To PDF Metafile is returning Bitmap.

I am using Licenced Syncfusion in one of my project. it was developed in ASP.Net 2.0  5 year back. i used Chart and Syncfusion PDF in this project.
all were working fine in  Windows server 2003 R2.
We recently migrate the server to Cloud Windows Server 2012 (64 bit OS).We have changed the compilation target in Visual Studio to x86, and .net framework to 4.0 all are working fine.
But in Html To PDF creation when we are trying to create Metafile for a url, it always return Bitmap image, so our PDF size has increase drastically, quality of pdf page decreased and the text in PDF page is not selectable, we found following suggestion from syncfusion Forum.
Even your sample page http://asp.syncfusion.com/demos/reporting/pdf/Import%20and%20Export/HtmlToPdf/VB/Default.aspx
is giving Bitmap instead-of metafile.

we did registry entry on server but it is still returning Bitmap in metafile.
we have follwing dlls referenced in our project 
Syncfusion.HTMLUI.Base.dll (ver 7.302.0.20)
Syncfusion.Core.dll (ver 7.302.0.20) and many more...

in IIS we have Enabled 32-bit Application to True.

5 Replies

AS Abirami Selvan Syncfusion Team March 11, 2015 01:03 PM UTC

Hi Pramod ,

Thank you for using Syncfusion product .

Our Html converter  uses  MSHTML(IE Rendering Engine) to convert HTML to Images and then the images are converted to PDF document.  While using  MSHTML rendering engine, if the site contains html5 or CSS3, it converts pdf as bitmap so we can’t  select the texts. As IE itself creating the bitmapped image, we can’t handle this in our converter.

To overcome the limitations of MSHTML and Gecko rendering engine, we have implemented our new webkit based HTML converter . It will produce the selectable or searchable texts in pdf. I have attached the webkitconverter sample for  your reference in the below link :


You can refer the more details regarding this in below link :


Please try this and let us know if you need any further assistance .



PS Pramod Sahu March 12, 2015 02:36 PM UTC


Thanks for your help.

Do we need to update our Syncfusion product to latest version?

When we try to run your sample project (WebkitconverterSample-1912347364.zip) on our system  we are always getting following error 

Could not load file or assembly 'Syncfusion.Pdf.Base, Version=12.4400.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).

How can we add WebKit Converter code into our old version Project? 

PS Pramod Sahu March 12, 2015 03:32 PM UTC


Please find attached screenshot also.

PS Pramod Sahu March 12, 2015 03:36 PM UTC


KC Karthikeyan Chandrasekar Syncfusion Team March 14, 2015 04:02 AM UTC

Hi Pramod,

Thank you for your interest in Syncfusion Products.

I have attached the Webkit assemblies for 12.4 version in the below link. We have to add reference with the similar product version to avoid this error.


Please let me know if you need any further assistance.



Live Chat Icon For mobile
Up arrow icon