# InvoicePdfLayoutOptions

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

Class 

`OfficeIMO.Invoicing.Pdf`

**Namespace**

`OfficeIMO.Invoicing.Pdf`

**Assembly**

`OfficeIMO.Invoicing.Pdf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[InvoicePdfLayoutOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L9)

**Modifiers**

sealed

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

- Method [InvoicePdfLayoutOptions.Clone](/api/invoicing-pdf/officeimo-invoicing-pdf-invoicepdflayoutoptions/#method-clone)
- Method [InvoicePdfLayoutOptions.ForCultures](/api/invoicing-pdf/officeimo-invoicing-pdf-invoicepdflayoutoptions/#method-forcultures-string)

### Accepted by parameters 1

- Method [PdfInvoiceDocument.Create](/api/invoicing-pdf/officeimo-invoicing-pdf-pdfinvoicedocument/#method-create-officeimo-invoicing-invoice-officeimo-invoicing-invoicexmloptions-officeimo-invoicing-pdf-invoicepdflayoutoptions) parameter `layout`

Filter members 

Show inherited

## Constructors

`public InvoicePdfLayoutOptions()` [#](#constructor-ctor)

[InvoicePdfLayoutOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L9)

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

## Methods

`public InvoicePdfLayoutOptions Clone()` [#](#method-clone)

[InvoicePdfLayoutOptions.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L141)

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

Returns

`InvoicePdfLayoutOptions`

`public static InvoicePdfLayoutOptions ForCultures(params string[] cultureNames)` [#](#method-forcultures-string)

[InvoicePdfLayoutOptions.cs:130](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L130)

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

Parameters

**cultureNames string[] required**

Returns

`InvoicePdfLayoutOptions`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int MaxInvoiceXmlBytes { get; set; }` [#](#property-maxinvoicexmlbytes)

[InvoicePdfLayoutOptions.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L32)

Maximum source invoice XML bytes accepted for PDF presentation.

`public int MaxLineTextCharacters { get; set; }` [#](#property-maxlinetextcharacters)

[InvoicePdfLayoutOptions.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L34)

Maximum visible text characters in a single invoice line item.

`public int MaxInvoiceLines { get; set; }` [#](#property-maxinvoicelines)

[InvoicePdfLayoutOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L36)

Maximum invoice line items accepted for PDF presentation.

`public int MaxGeneratedPages { get; set; }` [#](#property-maxgeneratedpages)

[InvoicePdfLayoutOptions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L38)

Maximum pages generated during invoice PDF layout.

`public int MaxOutputBytes { get; set; }` [#](#property-maxoutputbytes)

[InvoicePdfLayoutOptions.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L40)

Maximum serialized PDF bytes returned by invoice rendering.

`public IList<InvoicePdfLanguagePack> Languages { get; }` [#](#property-languages)

[InvoicePdfLayoutOptions.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L43)

Language packs displayed in order. Multiple packs produce multilingual labels.

`public IList<InvoicePdfLineColumn> LineColumns { get; }` [#](#property-linecolumns)

[InvoicePdfLayoutOptions.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L46)

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; }` [#](#property-unitcodedisplay)

[InvoicePdfLayoutOptions.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L49)

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; }` [#](#property-paymentcodedisplay)

[InvoicePdfLayoutOptions.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L52)

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; }` [#](#property-compactdetails)

[InvoicePdfLayoutOptions.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L55)

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

`public bool IncludePageIdentity { get; set; }` [#](#property-includepageidentity)

[InvoicePdfLayoutOptions.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L58)

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; }` [#](#property-theme)

[InvoicePdfLayoutOptions.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L63)

Optional visual theme. Leave null to retain the compact compatibility layout.

`public byte[]? LogoBytes { get; set; }` [#](#property-logobytes)

[InvoicePdfLayoutOptions.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L67)

Optional raster logo bytes shown in the modern header. Values are copied defensively.

`public double LogoWidth { get; set; }` [#](#property-logowidth)

[InvoicePdfLayoutOptions.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L76)

Logo width in points. Defaults to 150.

`public double LogoHeight { get; set; }` [#](#property-logoheight)

[InvoicePdfLayoutOptions.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L82)

Logo height in points. Defaults to 30.

`public OfficeImageFit LogoFit { get; set; }` [#](#property-logofit)

[InvoicePdfLayoutOptions.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L88)

How the logo fits its width and height box. Defaults to OfficeImageFit.Contain to preserve aspect ratio.

`public string? LogoAlternativeText { get; set; }` [#](#property-logoalternativetext)

[InvoicePdfLayoutOptions.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L97)

Alternate text for the logo when tagged PDF output is enabled.

`public IList<InvoicePdfApproval> Approvals { get; }` [#](#property-approvals)

[InvoicePdfLayoutOptions.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L102)

Visible prepared/approved blocks placed after payment details. They do not create cryptographic PDF signatures.

`public string LabelSeparator { get; set; }` [#](#property-labelseparator)

[InvoicePdfLayoutOptions.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L106)

Text placed between translations of the same generated label.

`public CultureInfo FormattingCulture { get; set; }` [#](#property-formattingculture)

[InvoicePdfLayoutOptions.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L114)

Culture used for visible decimal and date formatting.

`public string DateFormat { get; set; }` [#](#property-dateformat)

[InvoicePdfLayoutOptions.cs:120](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLayoutOptions.cs#L120)

.NET date format used for visible dates. The default compatibility layout uses yyyy-MM-dd.

<!-- PowerForge markdown artifact sha256:DD650F7FAB5F12783276E7B397C90B9A7859B409D204A3FBC198AF887BF6B50A -->
