API Reference
Class
PdfProvenance
Inspects and selectively removes the standards-defined PDF C2PA associated-file carrier.
Inheritance
- Object
- PdfProvenance
Methods
public static OfficeProvenanceReport Inspect(Byte[] pdf, OfficeProvenanceOptions options = null, PdfReadOptions readOptions = null) #Returns:
OfficeProvenanceReportInspects a bounded PDF for C2PA Manifest Store associated files.
Parameters
- pdf System.Byte[]
- options OfficeIMO.Provenance.OfficeProvenanceOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public static OfficeProvenanceReport InspectFile(String filePath, OfficeProvenanceOptions options = null, PdfReadOptions readOptions = null) #Returns:
OfficeProvenanceReportInspects a bounded PDF file.
Parameters
- filePath System.String
- options OfficeIMO.Provenance.OfficeProvenanceOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public static OfficeProvenanceRemovalResult Remove(Byte[] pdf, OfficeProvenanceRemovalOptions options = null, PdfReadOptions readOptions = null) #Returns:
OfficeProvenanceRemovalResultRemoves selected structurally valid C2PA associated files through the proven PDF attachment rewrite.
Parameters
- pdf System.Byte[]
- options OfficeIMO.Provenance.OfficeProvenanceRemovalOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
public static OfficeProvenanceRemovalResult RemoveFile(String inputPath, String outputPath, OfficeProvenanceRemovalOptions options = null, PdfReadOptions readOptions = null) #Returns:
OfficeProvenanceRemovalResultRemoves selected provenance and atomically writes the resulting PDF.
Parameters
- inputPath System.String
- outputPath System.String
- options OfficeIMO.Provenance.OfficeProvenanceRemovalOptions = null
- readOptions OfficeIMO.Pdf.PdfReadOptions = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object