Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeRasterDecodeOptions

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Shared options for deterministic raster decoding.

Inheritance

  • object
  • OfficeRasterDecodeOptions

Usage

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

Accepted by parameters 8

Constructors

public OfficeRasterDecodeOptions() #

Methods

public OfficeRasterDecodeOptions Clone() #

Creates an independent settings snapshot, retaining the trusted codec and cancellation token by reference/value.

Properties

public int FrameIndex { get; set; } #

Zero-based frame or page to decode.

public OfficeRasterFrameLossPolicy FrameLossPolicy { get; set; } #

Behavior when the source contains more than one frame or page.

public int MaximumEncodedBytes { get; set; } #

Maximum encoded bytes read or decoded by this request.

public long MaximumDecodedPixels { get; set; } #

Maximum decoded pixels retained by this request.

public IOfficeRasterImageCodec? ImageCodec { get; set; } #

Optional trusted decoder for inspected raster payloads not decoded by the managed core.

public CancellationToken CancellationToken { get; set; } #

Cancellation observed while reading, parsing, or decoding the request.

public bool ApplyExifOrientation { get; set; } #

Whether orientation-aware decoders normalize EXIF display orientation; defaults to true.

public bool JpegHighQualityChroma { get; set; } #

Whether JPEG decoding interpolates subsampled chroma components; defaults to true.