Watermarker Constructor (String) |
Initializes a new instance of the
Watermarker class with the specified document path.
Namespace: GroupDocs.WatermarkAssembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 20.7.0
Syntaxpublic Watermarker(
string filePath
)
Public Sub New (
filePath As String
)
public:
Watermarker(
String^ filePath
)
new :
filePath : string -> Watermarker
Parameters
- filePath
- Type: SystemString
The file path to load the document from.
Exceptions
Remarks
Examples
Load and save a content of any supported format.
using (Watermarker watermarker = new Watermarker("D:\\input.pdf"))
{
watermarker.Save("D:\\output.pdf");
}
See Also