Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeProvenanceRemover

OfficeIMO.Provenance

Namespace
OfficeIMO.Provenance
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Removes selected standards-defined provenance carriers while preserving unrelated data.

Inheritance

  • object
  • OfficeProvenanceRemover

Methods

public static OfficeProvenanceRemovalResult Remove(byte[] data, string? fileName = null, OfficeProvenanceRemovalOptions? options = null) #

Removes selected provenance from encoded asset bytes.

Parameters

data byte[] required
fileName string? = null optional
options OfficeIMO.Provenance.OfficeProvenanceRemovalOptions? = null optional
public static OfficeProvenanceRemovalResult RemoveFile(string inputPath, string outputPath, OfficeProvenanceRemovalOptions? options = null) #

Removes selected provenance from a file and atomically commits the output.

Parameters

inputPath string required
outputPath string required
options OfficeIMO.Provenance.OfficeProvenanceRemovalOptions? = null optional