// Specify an absolute or relative path to your document. Ex: @"C:\Docs\test.doc"using(Watermarkerwatermarker=newWatermarker("test.doc")){// watermarking goes hereTextWatermarkwatermark=newTextWatermark("Test watermark",newFont("Arial",12));watermarker.Add(watermark);// Saves the document to the specified locationwatermarker.Save("test.doc");}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
Cookie Notice
Language
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.