//For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// initialize PdfFormat
PdfFormat PdfFormat = new PdfFormat(Common.MapSourceFilePath(filePath));
// use one of the following methods
// method:1 - clear custom properties
PdfFormat.ClearCustomProperties();
// method:2 - clear custom properties
PdfFormat.DocumentProperties.ClearCustomData();
// save file in destination folder
PdfFormat.Save(Common.MapDestinationFilePath(filePath));