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.
1. You can update the registry by include the below code snippet in your application before conversion takes place.
Note: 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.
2. 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
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?
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.
Note: This registry changes have to be made in the system or server where the conversion takes place.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.