HTMLToQPDF icon indicating copy to clipboard operation
HTMLToQPDF copied to clipboard

HTMLToQPDF.Example is crash

Open wangjunjx8868 opened this issue 1 year ago • 2 comments

This is an image click "Create pdf" is crash

wangjunjx8868 avatar Mar 05 '23 11:03 wangjunjx8868

You need to include "QuestPDF.Settings.License = LicenseType.Community; " into the file, when using the newest QPDF. ( e.g. in MainWindow.xaml.cs within the public MainWindow()-Function above InitializeComponent(); Also it throws an error stating "Compose Single doesn't include that Methode". Still doing some research on the origins of that error.

Serverraum avatar May 13 '24 11:05 Serverraum

Edit: You also have to update QPDF within HTMLtoQPDF AND HTMLtoQPDF.Example.

Also you have to explicitely add SkiaSharp as nuget-Dependency, as this isn't included in QuestPDF anymore.

If you did all these three things, it should work.

Serverraum avatar May 13 '24 13:05 Serverraum