Hi Anthony,
Thank you for your interest in Syncfusion Products.
Could you please check whether you have enabled JavaScript while conversion, and you can also add Additional Delay to load the HTML during the conversion. Please refer the below code snippet:
using (HtmlConverter html = new HtmlConverter())
{
html.EnableJavaScript = true;
html.EnableBinaryBehaviors = true;
html.AdditionalDelay = 1000;
Please let us know if you need any further assistance.
Thanks,
Karthikeyan.C
Hi Anthony,
I am afraid that I am not able to reproduced this issue, I have attached a sample project which we have tried for your reference.
Please try this sample and let us know if you have any
concern.
Thanks,
Karthikeyan.C
Hi Anthony,
In the attached PDF document we have found that the PDF contains bitmapped output so the grid may not work. With IE 9 there is a known issue that it generates only raster image. 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.
$system drive:\Program Files\Syncfusion\Essential Studio\$Version # \Utilities\PDF\Legacy Drawing
Please try this and let us know if you need any further assistance.
Thanks,
Karthikeyan.C
Hi Anthony,
Could you please conform you have run the Legacy tool with elevated permission and make sure that the FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI at both HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER is set as below?
Name |
Type |
Data |
* |
REG_DWORD |
0x00000001 |
I have attached the generated PDF document for your reference.
Thanks,
Karthikeyan.C
Hi Anthony,
Thank you for your update.
In the attached link we could not able to see the chart present in the HTML page. We can able to convert the grid present in the link, could you please provide us the link which contains Chart so that we will check this. Meanwhile please try once again by setting the below code snippet.
using (HtmlConverter html = new HtmlConverter())
{
html.EnableActiveXContents = true;
Please let us know if you have any concern.
Thanks,
Karthikeyan.C
Hi Antony,
Thank you for using Syncfusion Products.
We are able to reproduce this issue, we will fix this issue internally and let you know.
Thanks,
Karthikeyan.C
Hi Antony,
Thank you for your update.
Our Html Converter make use of MSHTML(IE rendering engine) to convert HTML to images and then the image is converted to PDF. For this specific HTML IE itself producing the incomplete image. We have reported MS in this issue, we will let you know once this issue is fixed.
Regards,
Karthikeyan.C