Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointVisualProofReport

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
07c6bff0a794 with working tree changes
Modifiers
sealed

Machine-readable proof bundle for generated or imported presentations. Callers can attach downstream PPTX, PDF, and HTML artifacts and perceptual comparison results to the same report.

Inheritance

  • object
  • PowerPointVisualProofReport

Usage

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

Methods

public PowerPointVisualProofReport RecordArtifact(string name, string mediaType, byte[] content, int diagnosticCount = 0) #

Records a downstream conversion artifact without retaining its bytes.

Parameters

name string required
mediaType string required
content byte[] required
diagnosticCount int = 0 optional
public PowerPointVisualProofReport RecordPerceptualComparison(string name, double differenceRatio, double allowedDifferenceRatio) #

Records perceptual comparison evidence produced by the caller's selected renderer.

Parameters

name string required
differenceRatio double required
allowedDifferenceRatio double required
public void SaveJson(string path, bool indented = true) #

Writes the proof report as UTF-8 JSON.

Parameters

path string required
indented bool = true optional
public string ToJson(bool indented = true) #

Serializes the proof bundle as deterministic dependency-free JSON.

Parameters

indented bool = true optional

Returns

string

Properties

public int SchemaVersion { get; } #

Report schema version.

public string SourceKind { get; } #

Caller-supplied source classification such as generated or imported.

public IReadOnlyList<PowerPointVisualSlideProof> Slides { get; } #

Per-slide proof.

public OfficeAccessibilityReport Accessibility { get; } #

Accessibility proof produced with the default CI profile.

public IReadOnlyList<PowerPointVisualProofArtifact> Artifacts { get; } #

Caller-recorded package and conversion artifacts.

public IReadOnlyList<PowerPointPerceptualProof> PerceptualProofs { get; } #

Caller-recorded perceptual comparisons.

public bool IsSuccessful { get; } #

Whether accessibility and every recorded perceptual comparison passed.