HakanL / WkHtmlToPdf-DotNet

C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
GNU Lesser General Public License v3.0
367 stars 66 forks source link

How to make the cover #76

Closed MrQLEO closed 2 years ago

MrQLEO commented 2 years ago

I want to make a cover for the document ,But there seems to be no such method。 and is it possible to support asynchronous loading of data to html

HakanL commented 2 years ago

I'm not sure, the best is probably to check the capabilities of the parent native library wkhtmltopdf and if there's a feature missing in this wrapper then we gladly accept PRs.

MrQLEO commented 2 years ago

I'm not sure, the best is probably to check the capabilities of the parent native library wkhtmltopdf and if there's a feature missing in this wrapper then we gladly accept PRs.

As much as I want to do something emm..... but I'm just a beginner And I also found a problem error occurs when using it again

bool converted = Tools.DoConversion(converter);

image But I don't know how to solve

HakanL commented 2 years ago

Try to run the examples, it sounds like you used it incorrectly, you can get exceptions like this when dealing with native libraries.

HakanL commented 2 years ago

@MrQLEO See this issue for hints on what may cause the exception: https://github.com/HakanL/WkHtmlToPdf-DotNet/issues/78

MrQLEO commented 2 years ago

@MrQLEO See this issue for hints on what may cause the exception: #78

Oh,thanks,you are very nice I think I get it