Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/d426230bccafefcb5feac42c6cb3072b to your computer and use it in GitHub Desktop.
Save GroupDocsGists/d426230bccafefcb5feac42c6cb3072b 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 doc = Document.Load(Utilities.MapSourceFilePath(DocFilePath))
' Search for hyperlinks only.
doc.SearchableObjects.PdfSearchableObjects = PdfSearchableObjects.Hyperlinks
' The code for working with found watermarks goes here.
Dim watermarks = doc.FindWatermarks()
End Using
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment