OfficeRasterDecodeOptions
OfficeIMO.Drawing
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
- Method OfficeImagePngConverter.TryConvertToPng
- Method OfficeImageReader.NormalizeForEmbedding
- Method OfficeRasterContainerInspector.TryInspect
- Method OfficeRasterImageDecoder.Decode
- Method OfficeRasterImageDecoder.DecodeFrames
- Method OfficeRasterImageDecoder.ReadEncodedBytes
- Method OfficeRasterImageDecoder.TryDecode
- Method OfficeRasterImageDecoder.TryDecodeFrames
Constructors
public OfficeRasterDecodeOptions() #Methods
public OfficeRasterDecodeOptions Clone() #Creates an independent settings snapshot, retaining the trusted codec and cancellation token by reference/value.
Returns
OfficeRasterDecodeOptionsInherited Methods
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.