using GroupDocs.Redaction.Options; using GroupDocs.Redaction.Redactions; namespace GroupDocs.Redaction { internal class RemoveMetadatafromPPTXusingCSharp { static void Main(string[] args) { // Set License to avoid the limitations of Redaction library License lic = new License(); lic.SetLicense(@"GroupDocs.Redaction.lic"); // Control document redaction process, allowing to open, // redact and save documents using (Redactor redactor = new Redactor(@"input.pptx")) { // Erase Author, Manager and Company // redactor.Apply(new EraseMetadataRedaction(MetadataFilters.Author // | MetadataFilters.Manager | MetadataFilters.Company)); // Erase all metadata redactor.Apply(new EraseMetadataRedaction(MetadataFilters.All)); redactor.Save(new SaveOptions() { AddSuffix = true, RasterizeToPDF = false }); } } } }