Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Created October 19, 2017 10:57
Show Gist options
  • Select an option

  • Save GroupDocsGists/ad205aa8f69906f6eca20e3e7798e95c to your computer and use it in GitHub Desktop.

Select an option

Save GroupDocsGists/ad205aa8f69906f6eca20e3e7798e95c to your computer and use it in GitHub Desktop.
//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();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment