OfficeHiddenDataOptions
OfficeIMO
Selects which hidden-data categories RemoveHiddenData removes from a document.
Inheritance
- object
- OfficeHiddenDataOptions
Constructors
public OfficeHiddenDataOptions() #Inherited Methods
Properties
public OfficeHiddenDataKind Kinds { get; set; } #Categories to remove. Defaults to OfficeHiddenDataKind.Default; tracked changes, hidden content, provenance, attachments and bookmarks are opt-in.
public OfficeTrackedChangesAction TrackedChanges { get; set; } #Whether tracked changes are kept, accepted or rejected. Defaults to OfficeTrackedChangesAction.Keep.
public string AnonymousAuthor { get; set; } #Name that replaces authors on retained comments and revisions when OfficeHiddenDataKind.PersonalIdentities is selected. Defaults to Author.
public OfficeProvenanceRemovalOptions Provenance { get; } #Which provenance carriers OfficeHiddenDataKind.Provenance removes and the limits for reading them, with the same switches as RemoveProvenance: for example keep Content Credentials but drop AI-generated declarations by setting OfficeProvenanceRemovalOptions.RemoveC2paManifests to false. Its OfficeProvenanceRemovalOptions.SignatureMutationPolicy is not used here; the save decides how signatures are handled.