Does anyone know wkhtmltopdf support on UWP platform? Something like WkHtmlToXSharp but for UWP?
Asked
Active
Viewed 605 times
0
-
Already asked, refer this https://stackoverflow.com/questions/39009600/html-to-pdf-in-a-windows-universal-app-uwp – Ipsit Gaur Sep 22 '17 at 10:00
1 Answers
0
Does anyone know wkhtmltopdf support on UWP platform?
wkhtmltopdf
is a command line tool, by testing on my side, it can work well on windows 10 platform by command line. My windows 10 OS build is 15063.
Something like WkHtmlToXSharp but for UWP?
If you are trying to find packages that generate PDF for UWP app, currently, there are many third party paid packages for generating PDF in UWP, such as Syncfusion and XFinium. For free libraries like PDFSharp may not available in UWP. If you don't want a paid package you may try the follows:
- Using printing feature in UWP. With a virtual PDF print drive to print HTML as PDF.
- Using a WebView to combine with jsPDF library. Details for how to do you may reference this similar thread.
- Write your own PDF library by reference this article and this thread.

Sunteen Wu
- 10,509
- 1
- 10
- 21