# PdfRewritePreservationMatrixReport

Result of running a PDF rewrite-preservation proof matrix.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

Result of running a PDF rewrite-preservation proof matrix.

## Inheritance

- object
- PdfRewritePreservationMatrixReport

## Usage

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

- Method [PdfDocumentProof.AssertRewritePreservationMatrix](/api/pdf/officeimo-pdf-pdfdocumentproof/#method-assertrewritepreservationmatrix-string-string-func-officeimo-pdf-pdfdocument-officeimo-pdf-pdfdocument-officeimo-pdf-pdfrewritepreservationoptions)
- Method [PdfDocumentProof.AssessRewritePreservationMatrix](/api/pdf/officeimo-pdf-pdfdocumentproof/#method-assessrewritepreservationmatrix-string-string-func-officeimo-pdf-pdfdocument-officeimo-pdf-pdfdocument-officeimo-pdf-pdfrewritepreservationoptions)

Filter members 

Show inherited

## Methods

`public void ThrowIfFailed()` [#](#method-throwiffailed)

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

Throws an InvalidOperationException when any scenario produced an unexpected classification.

`public PdfRewritePreservationMatrixSummary ToSummary()` [#](#method-tosummary)

[PdfRewritePreservationMatrixReport.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRewritePreservationMatrixReport.cs#L37)

Creates a JSON-friendly summary of this matrix report for proof packs, CI logs, and wrappers.

Returns

`PdfRewritePreservationMatrixSummary`

## 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 IReadOnlyList<PdfRewritePreservationMatrixEntry> Entries { get; }` [#](#property-entries)

[PdfRewritePreservationMatrixReport.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRewritePreservationMatrixReport.cs#L12)

Scenario results in input order.

`public bool Passed { get; }` [#](#property-passed)

[PdfRewritePreservationMatrixReport.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRewritePreservationMatrixReport.cs#L15)

True when every scenario produced the expected classification.

`public string Summary { get; }` [#](#property-summary)

[PdfRewritePreservationMatrixReport.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfRewritePreservationMatrixReport.cs#L20)

Human-readable summary for logs and proof files.

<!-- PowerForge markdown artifact sha256:FF3F384DBBB63125FA8E75FEA8F1DC0C20667E9638FBAA98ECD967D666220D9C -->
