dinktopdf Questions

1

I have a problem implementing dinkToPdf NuGet Package in my .NET 6.0 WebAPI application. I'm using macbook with M1 chip. I'm getting the following error: "Unable to load shared library '/Users...
Eggbeater asked 7/4, 2022 at 21:53

5

Solved

I have this C# in my Program.cs: var page = "plain"; var slnpath = $@"{Directory.GetCurrentDirectory()}\..\..\..\.."; var htmlpath = $@"{slnpath}\HtmlTemplates\{page}.html"; var pdfpath = $@"...
Trinitroglycerin asked 29/3, 2019 at 14:13

5

Solved

I am trying to generate PDFs from HTML SQL server database using DinkToPdf library. In the startup file I have added: var context = new CustomAssemblyLoadContext(); context.LoadUnmanagedLibrary(Pat...
Embitter asked 30/3, 2019 at 10:33

4

I am using DinkToPDF library to convert a html string to it's equivalent PDF. To use this library we have to import a native library provided which is libwkhtmltox.dll. This works fine when I run m...
Gitt asked 10/6, 2019 at 13:33

2

Solved

I've written a PDF generation API that uses dinktopdf to convert some templated HTML to a byte array. This all works fine on my local machine but when I deploy to my azure web application the API o...
Gish asked 17/4, 2019 at 6:54
1

© 2022 - 2024 — McMap. All rights reserved.