WatermarkerSave Method (String) |
Saves the document to the specified file location.
Namespace: GroupDocs.WatermarkAssembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 20.7.0
Syntaxpublic void Save(
string filePath
)
Public Sub Save (
filePath As String
)
public:
void Save(
String^ filePath
)
member Save :
filePath : string -> unit
Parameters
- filePath
- Type: SystemString
The file path to save the document data to.
Remarks
Examples
Add the watermark and save the document to another file.
using (Watermarker watermarker = new Watermarker("input.pdf"))
{
TextWatermark watermark = new TextWatermark("top secret", new Font("Arial", 36));
watermarker.Add(watermark);
watermarker.Save("ouput.pdf");
}
See Also