# PdfTextDecodingSource

The mapping that produced a native PDF text run.

Enum 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[PdfTextDecodingEvidence.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Text/PdfTextDecodingEvidence.cs#L4)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

The mapping that produced a native PDF text run.

## Inheritance

- Enum
- PdfTextDecodingSource

## Usage

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

- Property [PdfTextDecodingEvidence.Source](/api/pdf/officeimo-pdf-pdftextdecodingevidence/#property-source)
- Property [PdfTextDecodingEvidence.UnderlyingSource](/api/pdf/officeimo-pdf-pdftextdecodingevidence/#property-underlyingsource)
- Field [PdfTextDecodingSource.ActualText](/api/pdf/officeimo-pdf-pdftextdecodingsource/#field-actualtext)
- Field [PdfTextDecodingSource.FontEncoding](/api/pdf/officeimo-pdf-pdftextdecodingsource/#field-fontencoding)
- Field [PdfTextDecodingSource.FontProgram](/api/pdf/officeimo-pdf-pdftextdecodingsource/#field-fontprogram)
- Field [PdfTextDecodingSource.PredefinedCMap](/api/pdf/officeimo-pdf-pdftextdecodingsource/#field-predefinedcmap)
- Field [PdfTextDecodingSource.ToUnicode](/api/pdf/officeimo-pdf-pdftextdecodingsource/#field-tounicode)
- Field [PdfTextDecodingSource.Unknown](/api/pdf/officeimo-pdf-pdftextdecodingsource/#field-unknown)
- Field [PdfTextDecodingSource.Unmappable](/api/pdf/officeimo-pdf-pdftextdecodingsource/#field-unmappable)
- Field [PdfTextDecodingSource.WinAnsiFallback](/api/pdf/officeimo-pdf-pdftextdecodingsource/#field-winansifallback)

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 PdfTextDecodingSource Unknown` [#](#field-unknown)

[PdfTextDecodingEvidence.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Text/PdfTextDecodingEvidence.cs#L6)

No parser mapping evidence is available, for example for caller-authored spans.

Value: `0`

`public const PdfTextDecodingSource ToUnicode` [#](#field-tounicode)

[PdfTextDecodingEvidence.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Text/PdfTextDecodingEvidence.cs#L8)

A PDF ToUnicode character map supplied the text.

Value: `1`

`public const PdfTextDecodingSource PredefinedCMap` [#](#field-predefinedcmap)

[PdfTextDecodingEvidence.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Text/PdfTextDecodingEvidence.cs#L10)

A supported predefined Adobe character map supplied the text.

Value: `2`

`public const PdfTextDecodingSource FontEncoding` [#](#field-fontencoding)

[PdfTextDecodingEvidence.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Text/PdfTextDecodingEvidence.cs#L12)

A font encoding, including its Differences, supplied the text.

Value: `3`

`public const PdfTextDecodingSource WinAnsiFallback` [#](#field-winansifallback)

[PdfTextDecodingEvidence.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Text/PdfTextDecodingEvidence.cs#L14)

The reader used Windows-1252, or the value of an Identity-encoded code, without a supported mapping.

Value: `4`

`public const PdfTextDecodingSource ActualText` [#](#field-actualtext)

[PdfTextDecodingEvidence.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Text/PdfTextDecodingEvidence.cs#L16)

Marked-content ActualText replaced the font-decoded text.

Value: `5`

`public const PdfTextDecodingSource Unmappable` [#](#field-unmappable)

[PdfTextDecodingEvidence.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Text/PdfTextDecodingEvidence.cs#L18)

No supported font mapping was available beneath an ActualText replacement.

Value: `6`

`public const PdfTextDecodingSource FontProgram` [#](#field-fontprogram)

[PdfTextDecodingEvidence.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Text/PdfTextDecodingEvidence.cs#L20)

The embedded font program's own Unicode cmap or glyph names supplied the text of a composite font.

Value: `7`

<!-- PowerForge markdown artifact sha256:92757D13A4D3A3AB7793CF9BD74CC2306766C9D49DFA1AABE46D57A94581BA6C -->
