API Reference
Class
PowerPointDeckPreflightReport
Deterministic deck preflight result shared by code, designer, and markup workflows.
Inheritance
- Object
- PowerPointDeckPreflightReport
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Methods
public Boolean HasFindingsAtOrAbove(PowerPointDeckPreflightSeverity severity) #Returns:
BooleanReturns whether any finding meets or exceeds the supplied severity.
Parameters
- severity OfficeIMO.PowerPoint.PowerPointDeckPreflightSeverity
public Void SaveJson(String path, Boolean indented = true) #Returns:
VoidWrites the JSON report to disk, creating the destination directory when needed.
Parameters
- path System.String
- indented System.Boolean = true
public Void ThrowIfFindings(PowerPointDeckPreflightSeverity severity = Error) #Returns:
VoidThrows when findings meet or exceed the supplied severity.
Parameters
- severity OfficeIMO.PowerPoint.PowerPointDeckPreflightSeverity = Error
public String ToJson(Boolean indented = true) #Returns:
StringSerializes the report as dependency-free JSON.
Parameters
- indented System.Boolean = true
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Int32 SchemaVersion { get; } #Report schema version.
public Int32 SlideCount { get; } #Number of inspected slides.
public IReadOnlyList<PowerPointDeckPreflightFinding> Findings { get; } #Findings in deterministic slide and shape order.
public Int32 ErrorCount { get; } #Number of error findings.
public Int32 WarningCount { get; } #Number of warning findings.
public Int32 InfoCount { get; } #Number of informational findings.
public Boolean IsSuccessful { get; } #Whether the report contains no errors.