Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

OfficeImageOptimizationStatus

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Outcome of a placement-aware encoded-image optimization request.

Inheritance

  • Enum
  • OfficeImageOptimizationStatus

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const OfficeImageOptimizationStatus Optimized #

The encoded image was resized or converted.

Value: 0
public const OfficeImageOptimizationStatus AlreadySuitable #

The original already fit the requested placement.

Value: 1
public const OfficeImageOptimizationStatus UnsupportedFormat #

The source format is intentionally not rewritten by the managed optimizer.

Value: 2
public const OfficeImageOptimizationStatus DecodeFailed #

The source bytes could not be decoded safely.

Value: 3
public const OfficeImageOptimizationStatus OriginalWasSmaller #

The candidate was not smaller, so the original bytes were retained.

Value: 4