WatermarkerSave Method
Saves the document data to the underlying stream.

Namespace: GroupDocs.Watermark
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 20.7.0
Syntax
public void Save()
Remarks
Learn more about saving the documents Saving documents.
Examples
Remove particular text fragments from the email message body/subject and save the email message.
C#
using (Watermarker watermarker = new Watermarker(@"D:\test.msg"))
{
    SearchCriteria criteria = new TextSearchCriteria("test", false);
    // Note, search is performed only if you pass TextSearchCriteria instance to Search method
    PossibleWatermarkCollection watermarks = watermarker.Search(criteria);
    // Remove found text fragments
    watermarker.Remove(watermarks);
    // Save changes
    watermarker.Save();
}
See Also