How to remove FilteringScheme using C# API?
Hello, I am trying to figure out how to remove a FilteringScheme from the API. The code below adds one but I am having trouble how to delete one after I add it. Does anyone have any suggestions?
// Add a new data filtering selection. DataFilteringSelection dataFilteringSelection = document.Data.Filterings.Add("Filtering Scheme1"); // A filtering scheme has now been implicitly added for the new data filtering selection. FilteringScheme myFilteringScheme = document.FilteringSchemes[dataFilteringSelection]; // Let the active page use the new filtering scheme. document.ActivePageReference.FilterPanel.FilteringSchemeReference = myFilteringScheme;