Class
PdfInvoiceComponent
OfficeIMO.Pdf
A deterministic invoice recipe implemented over flow paragraphs and tables.
Inheritance
- object
- PdfInvoiceComponent
Constructors
public PdfInvoiceComponent(string invoiceNumber, DateTime issueDate, PdfInvoiceParty seller, PdfInvoiceParty customer, IEnumerable<PdfInvoiceLine> lines, string currencyCode = "USD", CultureInfo? culture = null, DateTime? dueDate = null) #Creates an invoice recipe.
Parameters
- invoiceNumber string
- issueDate System.DateTime
- seller OfficeIMO.Pdf.PdfInvoiceParty
- customer OfficeIMO.Pdf.PdfInvoiceParty
- lines System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInvoiceLine>
- currencyCode string = "USD"
- culture System.Globalization.CultureInfo? = null
- dueDate System.DateTime? = null
Methods
public void Compose(PdfContentBuilder content) #Composes this component into the supplied document content.
Parameters
- content OfficeIMO.Pdf.PdfContentBuilder
Inherited Methods
Properties
public string CurrencyCode { get; } #ISO-style currency code placed beside formatted numbers.
public bool CarryTotalsAcrossPages { get; set; } #When true, a line table that continues on another page closes each page with the carried-forward line total and opens the next page with the brought-forward amount. Defaults to false.