# PdfDiagnosticReport

Combined PDF inspection, parser, stream, and preflight diagnostics.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfDiagnosticReport.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L29)

**Modifiers**

sealed

Combined PDF inspection, parser, stream, and preflight diagnostics.

## Inheritance

- object
- PdfDiagnosticReport

## Usage

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

- Property [PdfAnalysisReport.Diagnostics](/api/pdf/officeimo-pdf-pdfanalysisreport/#property-diagnostics)
- Method [PdfDocument.Diagnostics](/api/pdf/officeimo-pdf-pdfdocument/#method-diagnostics-officeimo-pdf-pdfloadoptions)
- Property [PdfOptimizationReport.Diagnostics](/api/pdf/officeimo-pdf-pdfoptimizationreport/#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 PdfDocumentProbe Probe { get; }` [#](#property-probe)

[PdfDiagnosticReport.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L29)

Lightweight marker probe.

`public PdfDocumentPreflight Preflight { get; }` [#](#property-preflight)

[PdfDiagnosticReport.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L32)

Read and rewrite preflight result.

`public PdfDocumentInfo? Info { get; }` [#](#property-info)

[PdfDiagnosticReport.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L35)

Full readable document info, when parsing succeeded.

`public bool CanRead { get; }` [#](#property-canread)

[PdfDiagnosticReport.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L38)

True when OfficeIMO.Pdf can read this document.

`public bool CanRewrite { get; }` [#](#property-canrewrite)

[PdfDiagnosticReport.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L41)

True when OfficeIMO.Pdf can rewrite this document without known blockers.

`public string? HeaderVersion { get; }` [#](#property-headerversion)

[PdfDiagnosticReport.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L44)

PDF header version, when present.

`public int? PageCount { get; }` [#](#property-pagecount)

[PdfDiagnosticReport.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L47)

Page count when known.

`public bool HasEncryption { get; }` [#](#property-hasencryption)

[PdfDiagnosticReport.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L50)

True when encryption markers were detected.

`public bool HasSignatures { get; }` [#](#property-hassignatures)

[PdfDiagnosticReport.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L53)

True when signatures were detected.

`public bool HasForms { get; }` [#](#property-hasforms)

[PdfDiagnosticReport.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L56)

True when forms were detected.

`public bool HasAnnotations { get; }` [#](#property-hasannotations)

[PdfDiagnosticReport.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L59)

True when annotations were detected.

`public bool HasOutlines { get; }` [#](#property-hasoutlines)

[PdfDiagnosticReport.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L62)

True when outlines/bookmarks were detected.

`public bool HasPageLabels { get; }` [#](#property-haspagelabels)

[PdfDiagnosticReport.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L65)

True when catalog page labels were detected.

`public bool HasOpenActions { get; }` [#](#property-hasopenactions)

[PdfDiagnosticReport.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L68)

True when catalog open actions were detected.

`public bool HasViewerPreferences { get; }` [#](#property-hasviewerpreferences)

[PdfDiagnosticReport.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L71)

True when catalog viewer preferences were detected.

`public IReadOnlyDictionary<string, int> ObjectTypeCounts { get; }` [#](#property-objecttypecounts)

[PdfDiagnosticReport.cs:74](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L74)

Count of parsed indirect objects by object kind.

`public IReadOnlyDictionary<string, int> StreamTypeCounts { get; }` [#](#property-streamtypecounts)

[PdfDiagnosticReport.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L77)

Count of parsed stream objects by stream kind.

`public IReadOnlyList<PdfFontDiagnostic> Fonts { get; }` [#](#property-fonts)

[PdfDiagnosticReport.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L80)

Parsed font dictionary summaries.

`public IReadOnlyList<PdfStreamDiagnostic> Streams { get; }` [#](#property-streams)

[PdfDiagnosticReport.cs:83](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L83)

Parsed stream summaries.

`public int ObjectCount { get; }` [#](#property-objectcount)

[PdfDiagnosticReport.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L88)

Total parsed indirect object count.

`public int StreamCount { get; }` [#](#property-streamcount)

[PdfDiagnosticReport.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L98)

Total parsed stream count.

`public int FontCount { get; }` [#](#property-fontcount)

[PdfDiagnosticReport.cs:101](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L101)

Total parsed font dictionary count.

`public int EmbeddedFontCount { get; }` [#](#property-embeddedfontcount)

[PdfDiagnosticReport.cs:104](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L104)

Number of parsed font dictionaries with embedded font file evidence.

`public int FontEmbeddingReviewCount { get; }` [#](#property-fontembeddingreviewcount)

[PdfDiagnosticReport.cs:107](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L107)

Number of parsed font dictionaries that should be reviewed for embedding-sensitive workflows.

`public IReadOnlyList<PdfDiagnosticFinding> Findings { get; }` [#](#property-findings)

[PdfDiagnosticReport.cs:110](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L110)

Diagnostic findings.

`public bool ObjectGraphParsed { get; }` [#](#property-objectgraphparsed)

[PdfDiagnosticReport.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L113)

True when the indirect object graph was parsed.

`public string? ObjectGraphError { get; }` [#](#property-objectgrapherror)

[PdfDiagnosticReport.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDiagnosticReport.cs#L116)

Object parser error, when parsing was blocked or unsupported.

<!-- PowerForge markdown artifact sha256:9BC10AC72545FAF46804588584C2638FC20F8D57E4320638836F5F65FBBA1478 -->
