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

URL to PDF using Webkit is not printing content

In our application, some tables are missing from pdf those exist in aspx page we tried havingAdditionalDelay but still, it's not working, any other ideas? here is code we have so far

string SSLPath = @"PATH";
Environment.SetEnvironmentVariable("Path", SSLPath);
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter(HtmlRenderingEngine.WebKit);
WebKitConverterSettings settings = new WebKitConverterSettings();
settings.EnableJavaScript = true;
settings.EnableHyperLink = false;
settings.EnableToc = true;
settings.EnableBookmarks = true;
settings.AdditionalDelay = 60000;
settings.WebKitPath = "~\QtBinaries";
htmlConverter.ConverterSettings = settings;
Syncfusion.Pdf.PdfDocument document = htmlConverter.Convert(url);


1 Reply

PV Prakash Viswanathan Syncfusion Team February 6, 2020 06:37 AM UTC

Hi Satheesh, 

Thank you for contacting Syncfusion Support.  

We have tried to reproduce the reported issue, but it is working properly. Also, we did not faced this type of issue with HTML to PDF converter. Kindly ensure the table is displayed properly in browsers from the URL/HTML file. WebKit rendering engine internally make use of QtWebKit rendering engine. So, kindly ensure table is preserved properly in WebKit based web browsers (safari). 

 Kindly share us the input URL/complete HTML file, with code snippet, product version, environment details such as OS, bit version, culture setting etc., to reproduce the issue in our end. So that it will be helpful for us to analyze and assist you further on this.  

Regards, 
Prakash V 


Loader.
Live Chat Icon For mobile
Up arrow icon