InvoicePdfLayoutOptions
OfficeIMO.Invoicing.Pdf
Controls generated labels and locale-sensitive formatting in the visible invoice PDF.
Inheritance
- object
- InvoicePdfLayoutOptions
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Accepted by parameters 1
- Method PdfInvoiceDocument.Create
Constructors
public InvoicePdfLayoutOptions() #Creates the compatibility layout: English labels with invariant numbers and ISO dates.
Methods
public InvoicePdfLayoutOptions Clone() #Creates an independent copy of language, appearance, approval and resource settings for deferred or batch processing.
Returns
InvoicePdfLayoutOptionspublic static InvoicePdfLayoutOptions ForCultures(params string[] cultureNames) #Creates a localized or multilingual layout from built-in language packs. The first culture formats numbers and dates.
Parameters
- cultureNames string[]
Returns
InvoicePdfLayoutOptionsInherited Methods
Properties
public int MaxInvoiceXmlBytes { get; set; } #Maximum source invoice XML bytes accepted for PDF presentation.
public int MaxLineTextCharacters { get; set; } #Maximum visible text characters in a single invoice line item.
public int MaxInvoiceLines { get; set; } #Maximum invoice line items accepted for PDF presentation.
public int MaxGeneratedPages { get; set; } #Maximum pages generated during invoice PDF layout.
public int MaxOutputBytes { get; set; } #Maximum serialized PDF bytes returned by invoice rendering.
public IList<InvoicePdfLanguagePack> Languages { get; } #Language packs displayed in order. Multiple packs produce multilingual labels.
public IList<InvoicePdfLineColumn> LineColumns { get; } #Ordered line-table columns. Choose two to eight distinct columns including Item and NetAmount. The default contains Item, Quantity, NetPrice, Vat and NetAmount.
public InvoicePdfCodeDisplay UnitCodeDisplay { get; set; } #Unit description mode. Defaults to the translated description, such as "hour" for HUR, falling back to the code when unknown.
public InvoicePdfCodeDisplay PaymentCodeDisplay { get; set; } #Payment description mode. Defaults to the translated description, falling back to the code when unknown; authored payment text is always retained.
public bool CompactDetails { get; set; } #Reduces spacing and table padding for document details while retaining their values.
public bool IncludePageIdentity { get; set; } #Uses the captured single-line invoice number (up to 80 characters) and localized page count as the text footer on every page. This replaces configured footer text, including first/even variants, while retaining header settings and footer graphics. Defaults to false.
public InvoicePdfTheme? Theme { get; set; } #Optional visual theme. Leave null to retain the compact compatibility layout.
public byte[]? LogoBytes { get; set; } #Optional raster logo bytes shown in the modern header. Values are copied defensively.
public double LogoWidth { get; set; } #Logo width in points. Defaults to 150.
public double LogoHeight { get; set; } #Logo height in points. Defaults to 30.
public OfficeImageFit LogoFit { get; set; } #How the logo fits its width and height box. Defaults to OfficeImageFit.Contain to preserve aspect ratio.
public string? LogoAlternativeText { get; set; } #Alternate text for the logo when tagged PDF output is enabled.
public IList<InvoicePdfApproval> Approvals { get; } #Visible prepared/approved blocks placed after payment details. They do not create cryptographic PDF signatures.
public string LabelSeparator { get; set; } #Text placed between translations of the same generated label.
public CultureInfo FormattingCulture { get; set; } #Culture used for visible decimal and date formatting.
public string DateFormat { get; set; } #.NET date format used for visible dates. The default compatibility layout uses yyyy-MM-dd.