javascriptnode.jsangulartypescriptpdfmake

Quick question: Best way to design PDF templates with Angular and .NET 6, focusing on table-heavy layouts?


What is the best solution for designing PDF templates with Angular and .NET 6? The main requirement is to be able to design templates that primarily consist of tables

In my quest to create efficient PDF templates with Angular and .NET 6, I decided to give pdfmake a shot. Unfortunately, the journey was met with hurdles as the solution didn't meet my expectations.


Solution

  • From my experience it is always to generate the pdf from a server side library e.g .NET. Then handle it on your frontend as a blob. Some examples of libraries are QuestPDF, IronPdf and so on