Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

OfficeImageMetadataPolicy

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Policy applied to metadata when image bytes are rewritten.

Inheritance

  • Enum
  • OfficeImageMetadataPolicy

Usage

Explore 5 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.

Values

public const OfficeImageMetadataPolicy Preserve #

Copy every safely supported source category and report any loss.

Value: 0
public const OfficeImageMetadataPolicy Strip #

Remove portable source metadata from rewritten output.

Value: 1
public const OfficeImageMetadataPolicy SelectiveCopy #

Copy only categories selected by OfficeImageOptimizationRequest.MetadataSelection.

Value: 2