Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

InvoicePdfLayoutOptions

Namespace OfficeIMO.Invoicing.Pdf
Assembly OfficeIMO.Invoicing.Pdf
Modifiers sealed

Controls generated labels and locale-sensitive formatting in the visible invoice PDF.

Inheritance

  • Object
  • InvoicePdfLayoutOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public InvoicePdfLayoutOptions() #

Creates the compatibility layout: English labels with invariant numbers and ISO dates.

Methods

public InvoicePdfLayoutOptions Clone() #
Returns: InvoicePdfLayoutOptions

Creates an independent copy of language, appearance, approval and resource settings for deferred or batch processing.

public static InvoicePdfLayoutOptions ForCultures(params String[] cultureNames) #
Returns: InvoicePdfLayoutOptions

Creates a localized or multilingual layout from built-in language packs. The first culture formats numbers and dates.

Parameters

cultureNames System.String[] requiredposition: 0

Properties

public Int32 MaxInvoiceXmlBytes { get; set; } #

Maximum source invoice XML bytes accepted for PDF presentation.

public Int32 MaxLineTextCharacters { get; set; } #

Maximum visible text characters in a single invoice line item.

public Int32 MaxInvoiceLines { get; set; } #

Maximum invoice line items accepted for PDF presentation.

public Int32 MaxGeneratedPages { get; set; } #

Maximum pages generated during invoice PDF layout.

public Int32 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 original machine-readable code.

public InvoicePdfCodeDisplay PaymentCodeDisplay { get; set; } #

Payment description mode. Defaults to the original code; authored payment text is always retained.

public Boolean CompactDetails { get; set; } #

Reduces spacing and table padding for document details while retaining their values.

public Boolean 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 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.