rdvojmoc / DinkToPdf

C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
MIT License
1.09k stars 417 forks source link

parameter for --window-status #75

Closed gokhangencer closed 5 years ago

gokhangencer commented 5 years ago

Hi,

Is there a way of passing --window-status parameter to libwkhtmltox?

currently JSDelay parameter exist in HtmlToPdfDocument.ObjectSettings.LoadSettings.JSDelay.

Can you add WindowStatus parameter if not presented?

Thanks in Advanced.

gokhangencer commented 5 years ago

any response, please.

nicknijenhuis commented 5 years ago

@gokhangencer How did you solve this?

gokhangencer commented 5 years ago

You can use wkhtmltopdf exe to convert pdf. You can use System.Diagnostics.ProcessStartInfo to handle this. Calling exe is twice long executing according to calling lib version. I closed this thread because there is no response.