# PdfUnsupportedTextMappingException

Identifies shown text that cannot be decoded under the configured font-mapping policy.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[PdfUnsupportedTextMappingException.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Diagnostics/PdfUnsupportedTextMappingException.cs#L15)

**Base**

`NotSupportedException`

**Implements**

`ISerializable`

**Modifiers**

sealed

Identifies shown text that cannot be decoded under the configured font-mapping policy.

## Inheritance

- NotSupportedException
- PdfUnsupportedTextMappingException

## Usage

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

- Property [PdfPageReadOutcome.MappingFailure](/api/pdf/officeimo-pdf-pdfpagereadoutcome/#property-mappingfailure)

Filter members 

Show inherited

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual Exception GetBaseException()` [#](#method-getbaseexception)

Inherited from Exception

Returns

`Exception`

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

Inherited from object

Returns

`int`

`public virtual void GetObjectData(SerializationInfo info, StreamingContext context)` [#](#method-getobjectdata-serializationinfo-streamingcontext)

Inherited from Exception

`Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")` `EditorBrowsable(1)`

Parameters

**info SerializationInfo required**

**context StreamingContext required**

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

Inherited from Exception

Returns

`Type`

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

Inherited from Exception

Returns

`string`

## Properties

`public string FontResource { get; }` [#](#property-fontresource)

[PdfUnsupportedTextMappingException.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Diagnostics/PdfUnsupportedTextMappingException.cs#L15)

Font resource whose shown character codes could not be mapped.

`public string BaseFont { get; }` [#](#property-basefont)

[PdfUnsupportedTextMappingException.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Diagnostics/PdfUnsupportedTextMappingException.cs#L17)

Declared PDF base font name.

`public string EncodingName { get; }` [#](#property-encodingname)

[PdfUnsupportedTextMappingException.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Diagnostics/PdfUnsupportedTextMappingException.cs#L19)

Declared composite encoding.

`public bool HasDeclaredToUnicode { get; }` [#](#property-hasdeclaredtounicode)

[PdfUnsupportedTextMappingException.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Reading/Diagnostics/PdfUnsupportedTextMappingException.cs#L21)

Whether a ToUnicode entry was declared, although unusable for the shown codes.

## Inherited Properties

`public MethodBase? TargetSite { get; }` [#](#property-targetsite)

Inherited from Exception

`public virtual string Message { get; }` [#](#property-message)

Inherited from Exception

`public virtual IDictionary Data { get; }` [#](#property-data)

Inherited from Exception

`public Exception? InnerException { get; }` [#](#property-innerexception)

Inherited from Exception

`public virtual string? HelpLink { get; set; }` [#](#property-helplink)

Inherited from Exception

`public virtual string? Source { get; set; }` [#](#property-source)

Inherited from Exception

`public int HResult { get; set; }` [#](#property-hresult)

Inherited from Exception

`public virtual string? StackTrace { get; }` [#](#property-stacktrace)

Inherited from Exception

<!-- PowerForge markdown artifact sha256:0779943408CA11A9FC27F5C27D4DF922E16D3EB39CB5ED5AD34D6E5D80F90C3B -->
