usmanazizgroupdocs
1/19/2016 - 4:43 AM

RemoveComments.cs

//For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// initialize DocFormat
DocFormat docFormat = new DocFormat(Common.MapSourceFilePath(filePath));

// remove comments
docFormat.ClearComments();

// save file in destination folder
docFormat.Save(Common.MapDestinationFilePath(filePath));