# PdfRepairArtifact

Creates bounded repair artifacts only for defects the parser recovered explicitly.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

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

**Modifiers**

static

Creates bounded repair artifacts only for defects the parser recovered explicitly.

## Inheritance

- object
- PdfRepairArtifact

Filter members 

Show inherited

## Methods

`public static PdfRepairArtifactResult Create(byte[] pdf, PdfRepairArtifactOptions? options = null, PdfLoadOptions? readOptions = null, CancellationToken cancellationToken = default)` [#](#method-create-byte-officeimo-pdf-pdfrepairartifactoptions-officeimo-pdf-pdfloadoptions-threading-cancellationtoken)

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

Normalizes recovered source defects, then proves strict reopen and structural preservation.

Parameters

**pdf byte[] required**

**options OfficeIMO.Pdf.PdfRepairArtifactOptions? = null optional**

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

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`PdfRepairArtifactResult`

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

<!-- PowerForge markdown artifact sha256:8F634FA2A5D9407C6195619945621B45488704ECEF0FBE4CE64ABF2C92D1955F -->
