Class
OfficeImageExportPolicy
OfficeIMO.Drawing
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.
Returned or exposed by 3
- Property OfficeImageExportOptions.Policy
- Method OfficeImageExportPolicy.Clone
- Property OfficeRenderingProfile.Policy
Accepted by parameters 4
Constructors
public OfficeImageExportPolicy() #Methods
public OfficeImageExportPolicy Clone() #Creates an independent policy snapshot.
Returns
OfficeImageExportPolicypublic void EnsureAccepted(IEnumerable<OfficeImageExportDiagnostic> diagnostics) #Throws when the diagnostics violate this policy.
Parameters
- diagnostics System.Collections.Generic.IEnumerable<OfficeIMO.Drawing.OfficeImageExportDiagnostic>
Inherited Methods
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.