GroupDocsGists
10/19/2017 - 11:32 AM

ClearCustomPropertyXlsFormat.cs

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

// use one of the following methods
// method:1 - clear custom properties
xlsFormat.ClearCustomProperties();

// method:2 - clear custom properties
xlsFormat.DocumentProperties.ClearCustomData();

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