# InvoicePdfCodeDisplay

Controls presentation of machine-readable unit and payment codes.

Enum 

`OfficeIMO.Invoicing.Pdf`

**Namespace**

`OfficeIMO.Invoicing.Pdf`

**Assembly**

`OfficeIMO.Invoicing.Pdf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Controls presentation of machine-readable unit and payment codes.

## Inheritance

- Enum
- InvoicePdfCodeDisplay

## Usage

Explore 5 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 5

- Field [InvoicePdfCodeDisplay.Code](/api/invoicing-pdf/officeimo-invoicing-pdf-invoicepdfcodedisplay/#field-code)
- Field [InvoicePdfCodeDisplay.CodeAndDescription](/api/invoicing-pdf/officeimo-invoicing-pdf-invoicepdfcodedisplay/#field-codeanddescription)
- Field [InvoicePdfCodeDisplay.Description](/api/invoicing-pdf/officeimo-invoicing-pdf-invoicepdfcodedisplay/#field-description)
- Property [InvoicePdfLayoutOptions.PaymentCodeDisplay](/api/invoicing-pdf/officeimo-invoicing-pdf-invoicepdflayoutoptions/#property-paymentcodedisplay)
- Property [InvoicePdfLayoutOptions.UnitCodeDisplay](/api/invoicing-pdf/officeimo-invoicing-pdf-invoicepdflayoutoptions/#property-unitcodedisplay)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const InvoicePdfCodeDisplay Code` [#](#field-code)

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

Display the original code.

Value: `0`

`public const InvoicePdfCodeDisplay Description` [#](#field-description)

[InvoicePdfLineColumn.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLineColumn.cs#L42)

Display its translated description, falling back to the code when unknown.

Value: `1`

`public const InvoicePdfCodeDisplay CodeAndDescription` [#](#field-codeanddescription)

[InvoicePdfLineColumn.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing.Pdf/InvoicePdfLineColumn.cs#L44)

Display the code followed by its translated description.

Value: `2`

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