Table of Contents

Class BillingDocument

Namespace
NuvTools.Report.Pdf.Documents
Assembly
NuvTools.Report.Pdf.dll

A billing document on one A4 page or more: the issuer and the customer, the lines, the totals and how it was paid. Rendered with QuestPDF, whose license the application declares at startup.

public class BillingDocument : IDocument
Inheritance
BillingDocument
Implements
IDocument
Inherited Members

Remarks

Lato, the font QuestPDF embeds, is used so the output does not depend on the fonts of the host.

Constructors

BillingDocument(BillingDocumentModel)

A billing document on one A4 page or more: the issuer and the customer, the lines, the totals and how it was paid. Rendered with QuestPDF, whose license the application declares at startup.

public BillingDocument(BillingDocumentModel model)

Parameters

model BillingDocumentModel

Remarks

Lato, the font QuestPDF embeds, is used so the output does not depend on the fonts of the host.

Properties

Model

public BillingDocumentModel Model { get; }

Property Value

BillingDocumentModel

Methods

Compose(IDocumentContainer)

Configures the document content by specifying its layout structure and visual element.

public void Compose(IDocumentContainer container)

Parameters

container IDocumentContainer

The document container used for defining content via the FluentAPI.

GetMetadata()

Provides metadata values like author and keywords used in PDF creation.

public DocumentMetadata GetMetadata()

Returns

DocumentMetadata

Remarks

Override this method to customize document's metadata.