# PdfRepairArtifactResult

Normalized repaired PDF with before/after diagnostics and preservation evidence.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[PdfRepairArtifact.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfRepairArtifact.cs#L55)

**Modifiers**

sealed

Normalized repaired PDF with before/after diagnostics and preservation evidence.

## Inheritance

- object
- PdfRepairArtifactResult

## 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

- Method [PdfRepairArtifact.Create](/api/pdf/officeimo-pdf-pdfrepairartifact/#method-create-byte-officeimo-pdf-pdfrepairartifactoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken)

Filter members 

Show inherited

## Methods

`public byte[] ToBytes()` [#](#method-tobytes)

[PdfRepairArtifact.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfRepairArtifact.cs#L55)

Returns an independent copy of the normalized artifact.

Returns

`byte[]`

`public PdfDocument ToDocument(PdfLoadOptions? readOptions = null)` [#](#method-todocument-officeimo-pdf-pdfloadoptions)

[PdfRepairArtifact.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfRepairArtifact.cs#L57)

Opens the normalized artifact through the public document API.

Parameters

**readOptions OfficeIMO.Pdf.PdfLoadOptions? = null optional**

Returns

`PdfDocument`

## 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 long SourceSizeBytes { get; }` [#](#property-sourcesizebytes)

[PdfRepairArtifact.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfRepairArtifact.cs#L43)

Original source size in bytes.

`public long OutputSizeBytes { get; }` [#](#property-outputsizebytes)

[PdfRepairArtifact.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfRepairArtifact.cs#L45)

Normalized artifact size in bytes.

`public PdfRepairReport SourceRepairReport { get; }` [#](#property-sourcerepairreport)

[PdfRepairArtifact.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfRepairArtifact.cs#L47)

Every recovered and detected-only defect reported while opening the source.

`public PdfRepairReport StrictOutputRepairReport { get; }` [#](#property-strictoutputrepairreport)

[PdfRepairArtifact.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfRepairArtifact.cs#L49)

Repair report from reopening the artifact under strict parsing. It must be empty.

`public PdfRewritePreservationReport Preservation { get; }` [#](#property-preservation)

[PdfRepairArtifact.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfRepairArtifact.cs#L51)

User-visible and structural preservation comparison.

`public bool IsVerified { get; }` [#](#property-isverified)

[PdfRepairArtifact.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfRepairArtifact.cs#L53)

True when strict reopening and preservation checks both succeeded.

<!-- PowerForge markdown artifact sha256:6FCD9B65D46826379B13A08795E5B3E1C687D6FBE6B6D66D6E4C1A475C7A9980 -->
