DocumentRemovePersonalInformation Property
Gets or sets a flag indicating that Microsoft Word will remove all user information from comments, revisions and document properties upon saving the document.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.9
Syntax
public bool RemovePersonalInformation { get; set; }

Property Value

Type: Boolean
Examples
Shows how to get or set a flag to remove all user information upon saving the MS Word document.
[C#]

Document doc = new Document(MyDir + "Document.docx")
{
    // If flag sets to 'true' that MS Word will remove all user information from comments, revisions and
    // document properties upon saving the document. In MS Word 2013 and 2016 you can see this using
    // File -> Options -> Trust Center -> Trust Center Settings -> Privacy Options -> then the
    // checkbox "Remove personal information from file properties on save".
    RemovePersonalInformation = true
};

doc.Save(ArtifactsDir + "Document.RemovePersonalInformation.docx");
See Also