Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeImageExportPolicy

OfficeIMO.Drawing

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

Acceptance policy applied to structured image-export diagnostics.

Inheritance

  • object
  • OfficeImageExportPolicy

Usage

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

Accepted by parameters 4

Constructors

public OfficeImageExportPolicy() #

Methods

public OfficeImageExportPolicy Clone() #

Creates an independent policy snapshot.

public void EnsureAccepted(IEnumerable<OfficeImageExportDiagnostic> diagnostics) #

Throws when the diagnostics violate this policy.

Parameters

diagnostics System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeImageExportDiagnostic> required

Properties

public bool FailOnLoss { get; set; } #

Rejects any approximation, omission, or failure diagnostic.

public bool RequireNoOmissions { get; set; } #

Rejects omission diagnostics while allowing documented approximations.

public bool RequireNoFailures { get; set; } #

Rejects error/failure diagnostics.

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

Stable diagnostic codes that should fail the export.