C
C#6mo ago
Lancelot

Asp.Net Core How to create PDF Product Catalog With a template with an image in the background

I am developing a web application with Asp.net. The application will select the products on the e-commerce website, create headings according to categories and subcategories, and create a pdf catalog with product information images properly underneath (I hope). But I haven't been very successful with PdfSharp right now, everything works with coordinates and it is very difficult to design something original. Two solutions came to my mind: 1- Upload a pdf template and edit it with PDFSharp or a similar plug-in. Here, perhaps we can place a fixed photo area and text area with a form and enter product information there. Here we can name the text and photo fields, such as texbox1 picture1. 2- Prepare a table on the PdfSharp side, use it just like a template and have the products listed. I haven't quite decided what to do right now. I added an area to upload font files and templates to the plugin I developed, and I also made the information that should be included in the catalog, such as picture, sku, title, selectable with a checkbox. I don't know how to continue. I would appreciate it if you could help me.
2 Replies
Angius
Angius6mo ago
Give QuestPDF a shot It supports layers, for example, so you can easily place an image in the background
Lancelot
Lancelot6mo ago
ohh thank you i will try it them!