GroupDocsGists
10/19/2017 - 10:57 AM

RemoveHyperlinksUsingFindWatermark.cs

//For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
using (SlidesDocument doc = Document.Load<SlidesDocument>(Utilities.MapSourceFilePath(FilePath)))
{
    doc.SearchableObjects.SlidesSearchableObjects = SlidesSearchableObjects.Hyperlinks;

    // Find all hyperlinks
    var watermarks = doc.FindWatermarks();

    // Remove found watermarks
    watermarks.Clear();

    // Save changes
    doc.Save();
}