Class
HtmlProvenance
OfficeIMO.Html
Inspects and selectively removes standards-defined provenance from HTML documents.
Inheritance
- object
- HtmlProvenance
Methods
public static OfficeProvenanceReport Inspect(string html, OfficeProvenanceOptions? options = null) #Inspects embedded and external C2PA carriers plus supported embedded image data URIs.
Parameters
- html string
- options OfficeIMO.Provenance.OfficeProvenanceOptions? = null
Returns
OfficeProvenanceReportpublic static OfficeProvenanceReport InspectFile(string filePath, OfficeProvenanceOptions? options = null) #Inspects a bounded HTML file without resolving external resources.
Parameters
- filePath string
- options OfficeIMO.Provenance.OfficeProvenanceOptions? = null
Returns
OfficeProvenanceReportpublic static OfficeProvenanceRemovalResult Remove(string html, OfficeProvenanceRemovalOptions? options = null) #Removes selected HTML provenance and provenance in supported embedded image data URIs.
Parameters
- html string
- options OfficeIMO.Provenance.OfficeProvenanceRemovalOptions? = null
Returns
OfficeProvenanceRemovalResultpublic static OfficeProvenanceRemovalResult RemoveFile(string inputPath, string outputPath, OfficeProvenanceRemovalOptions? options = null) #Removes selected provenance and atomically writes the resulting HTML file.
Parameters
- inputPath string
- outputPath string
- options OfficeIMO.Provenance.OfficeProvenanceRemovalOptions? = null
Returns
OfficeProvenanceRemovalResult