DinkToPdf
DinkToPdf copied to clipboard
C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
Hello, Is it possible to create single page PDF i.e. without page breaks? I am trying to generate a report from HTML string which should be on single long page....
Hi, is it possible to have a dynamic header? Currently have static header. Thanks!
On my local generated PDF is correct however once I deploy it on azure here is the output ![image](https://user-images.githubusercontent.com/2681829/132320644-0522088d-d652-45ba-a1b5-6fdbb768f942.png)
After publishing v2 function into Azure, my pdf file contains black squares instead of correct font. I'm not setting font explicitly so I assume that default one should be taken...
Hello, I am using dinktopdf library with Dot net core2. I am wondering if there is any config to move leftover columns on the next page similar to pdfSharp. Suppose...
When building locally I keep getting Unable to load DLL `'libwkhtmltox' or one of its dependencies: The specified module could not be found.` My function looks like this. ``` public...
Error output: Unhandled exception. System.DllNotFoundException: Unable to load shared library '/app/wkhtmltox/v0.12.4/x_64/libwkhtmltox.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: /app/wkhtmltox/v0.12.4/x_64/libwkhtmltox.so:...
DinkToPdf.WkHtmlToXBindings.wkhtmltopdf_init(int useGraphics) DinkToPdf.PdfTools.Load() DinkToPdf.BasicConverter.Convert(IDocument document) RegCOM_Test.Controllers.Main.RecordCreatePDF() in Main.cs + var file = converter.Convert(pdf); lambda_method(Closure , object , object[] ) Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(object target, object[] parameters) Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[]...
![image](https://user-images.githubusercontent.com/24974154/157387418-8ab18127-1ee2-4a70-92f6-c4a7a1cc58bb.png) I'm trying to run a for loop for 24 HTML files to convert to PDF. It runs success for first 3 files and then throws this error.
Based on this https://github.com/wkhtmltopdf/wkhtmltopdf/issues/5160