Skip to content

Class StandardPdfGenerator

Generate PDFs that look like the model provided in the Factur-X specification.

Assembly: FacturXDotNet.dll
csharp
public class StandardPdfGenerator : IPdfGenerator

Implements:
FacturXDotNet.Generation.PDF.IPdfGenerator

Methods

Build(CrossIndustryInvoice)

Generates a PDF stream based on the provided CrossIndustryInvoice object.

csharp
public PdfDocument Build(CrossIndustryInvoice invoice)
Returns

PdfSharp.Pdf.PdfDocument: The stream representing the generated PDF document.

Parameters
TypeNameDescription
FacturXDotNet.Models.CII.CrossIndustryInvoiceinvoiceThe CrossIndustryInvoice object containing the invoice data to be used for generating the PDF.

Implements

The tools are open source and released under the MIT License, feel free to use, modify, and share.