API Reference
Class
HtmlProvenance
Inspects and selectively removes standards-defined provenance from HTML documents.
Inheritance
- Object
- HtmlProvenance
Methods
public static OfficeProvenanceReport Inspect(String html, OfficeProvenanceOptions options = null) #Returns:
OfficeProvenanceReportInspects embedded and external C2PA carriers plus supported embedded image data URIs.
Parameters
- html System.String
- options OfficeIMO.Provenance.OfficeProvenanceOptions = null
public static OfficeProvenanceReport InspectFile(String filePath, OfficeProvenanceOptions options = null) #Returns:
OfficeProvenanceReportInspects a bounded HTML file without resolving external resources.
Parameters
- filePath System.String
- options OfficeIMO.Provenance.OfficeProvenanceOptions = null
public static OfficeProvenanceRemovalResult Remove(String html, OfficeProvenanceRemovalOptions options = null) #Returns:
OfficeProvenanceRemovalResultRemoves selected HTML provenance and provenance in supported embedded image data URIs.
Parameters
- html System.String
- options OfficeIMO.Provenance.OfficeProvenanceRemovalOptions = null
public static OfficeProvenanceRemovalResult RemoveFile(String inputPath, String outputPath, OfficeProvenanceRemovalOptions options = null) #Returns:
OfficeProvenanceRemovalResultRemoves selected provenance and atomically writes the resulting HTML file.
Parameters
- inputPath System.String
- outputPath System.String
- options OfficeIMO.Provenance.OfficeProvenanceRemovalOptions = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object