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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

URL to PDF using Webkit is not printing content

Thread ID:

Created:

Updated:

Platform:

Replies:

151286 Feb 5,2020 10:37 PM UTC Feb 19,2020 11:59 AM UTC ASP.NET Web Forms 1
loading
Tags: PDF
Satheesh Pinni
Asked On February 5, 2020 10:37 PM UTC

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);


Prakash Viswanathan [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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
Live Chat Icon