// For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
using (WordsDocument doc = Document.Load<WordsDocument>(Utilities.MapSourceFilePath(FilePath)))
{
// Replace hyperlink
doc.Sections[0].Shapes[0].Hyperlink = "https://www.groupdocs.com/";
// Remove hyperlink
doc.Sections[0].Shapes[1].Hyperlink = null;
doc.Save();
}