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

How to avoid bitmapped output in PDF document while converting HTML using IE Rendering engine

Platform: WinForms |
Control: PDF
Tags: htmltopdf

Avoid bitmapped output in PDF while converting HTML using IE Rendering engine

Step 1:

In IE based HTML to PDF converter, with IE 9 and above there is a known issue that it generates only raster image. You can get more information on this from the following link:


As explained, to solve this, the key FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI should be updated in the registry.

Step 2:

  1. You can update the registry by include the below code snippet in your application before conversion takes place.


            @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI",






            @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI",






Use the above code to enable the Legacy through C# code, and it is not mandatory to run this code each time before the HTML converter is used.


  1. Please run the utility placed in the following location with elevated permission to perform the above changes automatically.

$system drive:\Program Files\Syncfusion\Essential Studio\$Version # \Utilities\PDF\Legacy Drawing

Step 3:

After completed the step 2, please make sure that the FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI at both HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER is set as below?







Step 4:

If you find any difficulty in using the Legacy tool or if the key is not properly updated in the registry you may add the key manually. Please find the video tutorial for this below.



This registry changes have to be made in the system or server where the conversion takes place.


2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile