A .NET 8 application for generating PDF documents using the DinkToPdf and PdfSharpCore libraries. It provides functionality to create single and chunked PDFs from dynamic data.
- 📄 Generate a single PDF document from dynamic data.
- 📚 Generate chunked PDFs and merge them into a single document.
- 🛠️ Customizable HTML table generation for PDF content.
- 📑 Supports pagination for large datasets.
- .NET 8
- DinkToPdf
- PdfSharpCore
- Clone the repository:
- Navigate to the project directory:
- Restore the dependencies:
To create a single PDF, use the CreatePDF
method:
To create a chunked PDF, use the CreateChunkedPDF
method:
You can modify the data used for generating the PDF by updating the GetData
method in PdfMaker.cs
.
To customize the HTML table structure, update the GenerateTable
method in PdfMaker.cs
.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
This project is licensed under the MIT License.