# PdfRepairDiagnostic

One explicit structural recovery performed while reading a PDF.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfRepairDiagnostic.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Diagnostics/PdfRepairDiagnostic.cs#L21)

**Modifiers**

sealed

One explicit structural recovery performed while reading a PDF.

## Inheritance

- object
- PdfRepairDiagnostic

## 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 [PdfRepairReport.Diagnostics](/api/pdf/officeimo-pdf-pdfrepairreport/#property-diagnostics)

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 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 string Code { get; }` [#](#property-code)

[PdfRepairDiagnostic.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Diagnostics/PdfRepairDiagnostic.cs#L21)

Stable machine-readable recovery code.

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

[PdfRepairDiagnostic.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Diagnostics/PdfRepairDiagnostic.cs#L24)

Human-readable recovery explanation.

`public int? ObjectNumber { get; }` [#](#property-objectnumber)

[PdfRepairDiagnostic.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Diagnostics/PdfRepairDiagnostic.cs#L27)

Affected indirect object number, when applicable.

`public PdfRepairDisposition Disposition { get; }` [#](#property-disposition)

[PdfRepairDiagnostic.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Diagnostics/PdfRepairDiagnostic.cs#L30)

Whether the reader recovered the issue or only reported it.

`public bool WasRecovered { get; }` [#](#property-wasrecovered)

[PdfRepairDiagnostic.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Diagnostics/PdfRepairDiagnostic.cs#L33)

True when the lenient reader applied a deterministic recovery.

<!-- PowerForge markdown artifact sha256:84B0B3CFBFC4683CFE1306C889B584A03AC36CCB0AE62B066618E2F509822EAC -->
