Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeImageExportPolicy

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Acceptance policy applied to structured image-export diagnostics.

Inheritance

  • Object
  • OfficeImageExportPolicy

Usage

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

Accepted by parameters

Constructors

Methods

public OfficeImageExportPolicy Clone() #
Returns: OfficeImageExportPolicy

Creates an independent policy snapshot.

public Void EnsureAccepted(IEnumerable<OfficeImageExportDiagnostic> diagnostics) #
Returns: Void

Throws when the diagnostics violate this policy.

Parameters

diagnostics System.Collections.Generic.IEnumerable{OfficeIMO.Drawing.OfficeImageExportDiagnostic} requiredposition: 0

Properties

public Boolean RequireNoLoss { get; set; } #

Rejects any approximation, omission, or failure diagnostic.

public Boolean RequireNoOmissions { get; set; } #

Rejects omission diagnostics while allowing documented approximations.

public Boolean RequireNoFailures { get; set; } #

Rejects error/failure diagnostics.

public IReadOnlyCollection<String> FailOnDiagnosticCodes { get; set; } #

Stable diagnostic codes that should fail the export.