' For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
Using stream As Stream = New MemoryStream()
Using doc As Document = Document.Load("C:\test.doc")
'..
' watermarking goes here
'..
' Saves the document to the underlying source (stream or file)
doc.Save()
' Saves the document to the specified location
doc.Save("C:\result.doc")
' Saves the document to the specified stream
doc.Save(stream)
End Using
End Using