# OfficeRasterDecodeInfo

Typed evidence describing one shared raster decode decision.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeRasterDecodeOptions.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L141)

**Modifiers**

sealed

Typed evidence describing one shared raster decode decision.

## Inheritance

- object
- OfficeRasterDecodeInfo

## Usage

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

- Property [OfficeRasterDecodeException.DecodeInfo](/api/core/officeimo-drawing-officerasterdecodeexception/#property-decodeinfo)

### Accepted by parameters 5

- Method [OfficeImagePngConverter.TryConvertToPng](/api/core/officeimo-drawing-officeimagepngconverter/#method-tryconverttopng-byte-officeimo-drawing-officerasterdecodeoptions-byte-officeimo-drawing-officerasterdecodeinfo) parameter `decodeInfo`
- Method [OfficeRasterImageDecoder.Decode](/api/core/officeimo-drawing-officerasterimagedecoder/#method-decode-byte-officeimo-drawing-officerasterdecodeoptions-officeimo-drawing-officerasterdecodeinfo) parameter `info`
- Method [OfficeRasterImageDecoder.DecodeFrames](/api/core/officeimo-drawing-officerasterimagedecoder/#method-decodeframes-byte-officeimo-drawing-officerasterdecodeoptions-officeimo-drawing-officerasterdecodeinfo-int32) parameter `info`
- Method [OfficeRasterImageDecoder.TryDecode](/api/core/officeimo-drawing-officerasterimagedecoder/#method-trydecode-io-stream-officeimo-drawing-officerasterdecodeoptions-officeimo-drawing-officerasterimage-officeimo-drawing-officerasterdecodeinfo) parameter `info`
- Method [OfficeRasterImageDecoder.TryDecodeFrames](/api/core/officeimo-drawing-officerasterimagedecoder/#method-trydecodeframes-io-stream-officeimo-drawing-officerasterdecodeoptions-officeimo-drawing-officerasterframes-officeimo-drawing-officerasterdecodeinfo-int32) parameter `info`

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 OfficeRasterCodecUnavailableReason CodecUnavailableReason { get; internal set; }` [#](#property-codecunavailablereason)

[OfficeRasterDecodeOptions.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L141)

The missing platform component when decoding requires a licensed system codec.

`public string? DiagnosticCode { get; }` [#](#property-diagnosticcode)

[OfficeRasterDecodeOptions.cs:144](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L144)

Stable diagnostic code for an unavailable system codec, otherwise null.

`public OfficeImageFormat Format { get; }` [#](#property-format)

[OfficeRasterDecodeOptions.cs:172](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L172)

Detected source format, or [OfficeImageFormat.Unknown](/api/core/officeimo-drawing-officeimageformat/).

`public int FrameCount { get; }` [#](#property-framecount)

[OfficeRasterDecodeOptions.cs:175](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L175)

Known frame count. Static formats report one; zero means the count could not be established.

`public int SelectedFrameIndex { get; }` [#](#property-selectedframeindex)

[OfficeRasterDecodeOptions.cs:178](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L178)

Requested zero-based frame index.

`public bool Succeeded { get; }` [#](#property-succeeded)

[OfficeRasterDecodeOptions.cs:181](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L181)

True when the requested selected frame or complete sequence was decoded.

`public OfficeRasterDecodeFailure Failure { get; internal set; }` [#](#property-failure)

[OfficeRasterDecodeOptions.cs:184](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L184)

Typed reason for failure; cancellation and invalid caller options still throw.

`public bool DecodedAllFrames { get; internal set; }` [#](#property-decodedallframes)

[OfficeRasterDecodeOptions.cs:187](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L187)

True when every source frame or page was retained by the operation.

`public bool OrientationNormalized { get; internal set; }` [#](#property-orientationnormalized)

[OfficeRasterDecodeOptions.cs:190](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L190)

True when decoding normalized a non-default EXIF orientation in at least one retained unit.

`public OfficeImageOrientation SourceOrientation { get; internal set; }` [#](#property-sourceorientation)

[OfficeRasterDecodeOptions.cs:193](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L193)

Stored orientation of the selected source unit, or Normal when absent.

`public bool IsAnimated { get; }` [#](#property-isanimated)

[OfficeRasterDecodeOptions.cs:196](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L196)

True when the inspected source contains timed animation frames.

`public bool HasMultipleFramesOrPages { get; }` [#](#property-hasmultipleframesorpages)

[OfficeRasterDecodeOptions.cs:199](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L199)

True when the inspected source contains more than one frame or page.

`public bool FramesOrPagesDiscarded { get; }` [#](#property-framesorpagesdiscarded)

[OfficeRasterDecodeOptions.cs:202](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L202)

True when the static result intentionally retained only the selected frame or page.

`public bool PagesDiscarded { get; }` [#](#property-pagesdiscarded)

[OfficeRasterDecodeOptions.cs:205](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L205)

True when a multi-page source was reduced to the selected page.

`public bool AnimationDiscarded { get; }` [#](#property-animationdiscarded)

[OfficeRasterDecodeOptions.cs:208](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L208)

True when a static result intentionally represents only one frame of an animated source.

`public string? Diagnostic { get; }` [#](#property-diagnostic)

[OfficeRasterDecodeOptions.cs:211](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L211)

Stable human-readable reason when decoding did not complete or discarded animation.

`public OfficeRasterContainerInfo? Container { get; }` [#](#property-container)

[OfficeRasterDecodeOptions.cs:214](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L214)

Format-neutral frame/page inventory when the container could be inspected safely.

`public OfficeRasterFrameInfo? SelectedFrame { get; }` [#](#property-selectedframe)

[OfficeRasterDecodeOptions.cs:217](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterDecodeOptions.cs#L217)

Selected frame or page descriptor when available.

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