WatermarkerSave Method (String, SaveOptions)
Saves the document to the specified file location using save options.

Namespace: GroupDocs.Watermark
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 20.7.0
Syntax
public void Save(
	string filePath,
	SaveOptions options
)

Parameters

filePath
Type: SystemString
The file path to save the document data to.
options
Type: GroupDocs.Watermark.OptionsSaveOptions
Additional options to use when saving a document.
Remarks
Learn more about saving the documents Saving documents.
Examples
Add the watermark and save the document to another file with default SaveOptions.
C#
using (Watermarker watermarker = new Watermarker("input.pdf"))
{                                                                                   
    TextWatermark watermark = new TextWatermark("top secret", new Font("Arial", 36));
    watermarker.Add(watermark);                                            
    watermarker.Save("ouput.pdf", new SaveOptions());
}
See Also