# OcrDiagnostic

Engine-neutral provider diagnostic. Review signatures, members, parameters, type relationships, and available reference details in OfficeIMO.Ocr API Reference.

Class 

`OfficeIMO.Ocr`

**Namespace**

`OfficeIMO.Ocr`

**Assembly**

`OfficeIMO.Ocr`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[OcrModels.cs:219](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L219)

**Modifiers**

sealed

Engine-neutral provider diagnostic.

## Inheritance

- object
- OcrDiagnostic

## 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 [OcrResult.Diagnostics](/api/ocr/officeimo-ocr-ocrresult/#property-diagnostics)

Filter members 

Show inherited

## Constructors

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

[OcrModels.cs:219](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L219)

## 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 OcrDiagnosticSeverity Severity { get; set; }` [#](#property-severity)

[OcrModels.cs:217](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L217)

Diagnostic severity.

`public string Code { get; set; }` [#](#property-code)

[OcrModels.cs:219](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L219)

Stable machine-readable diagnostic code.

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

[OcrModels.cs:221](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L221)

Human-readable diagnostic message.

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

[OcrModels.cs:223](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L223)

Provider or component that emitted the diagnostic.

`public bool IsRecoverable { get; set; }` [#](#property-isrecoverable)

[OcrModels.cs:225](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L225)

Whether recognition may continue after the condition.

`public int OmittedAttributeCount { get; internal set; }` [#](#property-omittedattributecount)

[OcrModels.cs:227](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L227)

Number of attributes omitted by the runner's retention limit.

`public IReadOnlyDictionary<string, string> Attributes { get; set; }` [#](#property-attributes)

[OcrModels.cs:229](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L229)

Bounded scalar diagnostic attributes.

<!-- PowerForge markdown artifact sha256:2B679C3FFC40706AFB749D39AF9DAA2121A83B4282A004E9EE5AC828095CB4BD -->
