XtudioPdf.Templates
1.2.2
dotnet new install XtudioPdf.Templates@1.2.2
XtudioPdf
Visual PDF designer for .NET with its own rendering engine on SkiaSharp. Invoices, receipts, thermal tickets and reports: designed visually, generated in milliseconds.
- XtudioPdf.Core: layout and PDF engine,
*.pdfxtemplates,PdfReport<T>reports and compile-time template validation. - XtudioPdf.AspNetCore: the designer inside your app (
app.UseXtudioPdf()at/xtudiopdf, Development only) andAddPdfReports(). - XtudioPdf.Tool:
xtudiopdf open file.pdfxopens the designer on a template;xtudiopdf new Namecreates a report. - XtudioPdf.Templates:
dotnet new xtudiopdf.
builder.Services.AddPdfReports(); // embedded templates + every PdfReport<T> in the project
builder.Services.AddXtudioPdf(); // designer at /xtudiopdf (Development only)
public sealed class QuoteReport(AppDb db, PdfTemplates templates) : PdfReport<QuoteDto>(templates)
{
public async Task<byte[]> GenerateAsync(int id) => Render(await db.LoadQuoteAsync(id));
}
Every Name.pdfx in the project is embedded in the assembly and checked against its DTO ([PdfDataSource]) at build time: if a {{Field}} doesn't exist, the compiler warns you (XTPD003).
Highlights: tables across pages with running totals and groups, charts, QR and barcodes, rich text, table of contents, watermarks, PDF/A-2b/2u/3b/3u (validated with veraPDF), PAdES digital signatures with RFC 3161 timestamps, file attachments such as the e-invoice XML, fonts that travel with your app (Linux and Docker without installed fonts).
Licensing: the Community edition is free — with all technical features unlocked, unlimited templates and no watermarks — for individual developers, open-source projects, non-profits and companies with less than $1,000,000 USD in annual gross revenue. Organizations at or above that threshold (or requiring commercial support) need a Pro license key (XTPD.…), validated 100% offline: put the key in "XtudioPdf": { "LicenseKey": "…" } (ASP.NET Core), the XTUDIOPDF_LICENSE_KEY environment variable or XtudioPdfLicense.Key. License terms in LICENSE.md; third-party components in THIRD-PARTY-NOTICES.md.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.