The following example demonstrates how to create a watermarker for a local file system document:
AdvancedUsage.LoadingDocuments.LoadFromLocalDisk
// Specify an absolute or relative path to your document. Ex: @"C:\Docs\document.docx"stringfilePath="document.docx";using(Watermarkerwatermarker=newWatermarker(filePath)){// use watermarker methods to manage watermarksTextWatermarkwatermark=newTextWatermark("Test watermark",newFont("Arial",12));watermarker.Add(watermark);watermarker.Save("document.docx");}
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.