usmanazizgroupdocs
8/4/2017 - 4:34 PM

SearchWatermarkInParticularObjectsForParticularDocument.cs

// For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
using (var doc = Document.Load(Utilities.MapSourceFilePath(DocFilePath)))
{
    // Search for hyperlinks only.
    doc.SearchableObjects.PdfSearchableObjects = PdfSearchableObjects.Hyperlinks;
    var watermarks = doc.FindWatermarks();

    // The code for working with found watermarks goes here.
}