# PdfStreamDiagnostic

Summary of a PDF stream object discovered during diagnostics.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

Summary of a PDF stream object discovered during diagnostics.

## Inheritance

- object
- PdfStreamDiagnostic

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

- Property [PdfDiagnosticReport.Streams](/api/pdf/officeimo-pdf-pdfdiagnosticreport/#property-streams)
- Property [PdfOptimizationReport.LargestStreams](/api/pdf/officeimo-pdf-pdfoptimizationreport/#property-largeststreams)

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 int ObjectNumber { get; }` [#](#property-objectnumber)

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

Object number containing the stream.

`public int Generation { get; }` [#](#property-generation)

[PdfStreamDiagnostic.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L40)

PDF object generation.

`public string Kind { get; }` [#](#property-kind)

[PdfStreamDiagnostic.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L43)

Friendly stream kind, usually the subtype, type, or Stream.

`public string? Type { get; }` [#](#property-type)

[PdfStreamDiagnostic.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L46)

Dictionary /Type name, when present.

`public string? Subtype { get; }` [#](#property-subtype)

[PdfStreamDiagnostic.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L49)

Dictionary /Subtype name, when present.

`public IReadOnlyList<string> Filters { get; }` [#](#property-filters)

[PdfStreamDiagnostic.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L52)

Dictionary /Filter names, when present.

`public long Length { get; }` [#](#property-length)

[PdfStreamDiagnostic.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L55)

Length of the stream bytes retained by the parser.

`public bool Decoded { get; }` [#](#property-decoded)

[PdfStreamDiagnostic.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L58)

True when the stream was decoded by the reader.

`public bool DecodingFailed { get; }` [#](#property-decodingfailed)

[PdfStreamDiagnostic.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L61)

True when stream decoding failed and original bytes were retained.

`public string? DecodingError { get; }` [#](#property-decodingerror)

[PdfStreamDiagnostic.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L64)

Stream decoding error, when available.

`public int? Width { get; }` [#](#property-width)

[PdfStreamDiagnostic.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L67)

Image width, when present.

`public int? Height { get; }` [#](#property-height)

[PdfStreamDiagnostic.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L70)

Image height, when present.

`public int? BitsPerComponent { get; }` [#](#property-bitspercomponent)

[PdfStreamDiagnostic.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L73)

Image bits per component, when present.

`public string Hash { get; }` [#](#property-hash)

[PdfStreamDiagnostic.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfStreamDiagnostic.cs#L76)

Stable non-cryptographic hash of the retained stream bytes.

<!-- PowerForge markdown artifact sha256:2106645D6292065BF897D8C678212AAC25A7FB636C6AB81B463E7CE9D668DF60 -->
