usmanazizgroupdocs
8/4/2017 - 4:35 PM

SearchWatermarkInParticularObjectsForParticularDocument.vb

' 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