Skip to content

AungMyintMyat-30/AspNetCorePDFGenerateSample

Repository files navigation

Asp.NetCorePDFGenerateSample (5.0)

  • PDF Generate with DinkToPdf.

Configuration

  • Install-Package DinkToPdf. image
  • Download libwkhtmltox.dll, libwkhtmltox.dylib, libwkhtmltox.so files.
  • Copy the dll files and paste to the project.
  • Select all of 3 dll files and click the properties and follow the image.
  • image
  • Startup.cs file config add below the code.
  • image
  • Add CSS file for the pdf template to the wwwroot folder.
  • Add Sample.pdf file to the wwwroot folder.

About

PDF Generate Download with DinkToPDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published