Following code snippet shows how to add text Watermark to a document. If the document consists of multiple parts (pages, worksheets, slides, frames etc), the Watermark will be added to all of them.
advanced_usage.adding_text_Watermarks.AddTextWatermark
// Specify an absolute or relative path to your image. Ex: "C:\\Docs\\image.png" Watermarker Watermarker = new Watermarker("image.png"); // Initialize the font to be used for Watermark Font font = new Font("Arial", 19, FontStyle.Bold | FontStyle.Italic); // Create the Watermark object TextWatermark Watermark = new TextWatermark("Test Watermark", font); // Set Watermark properties Watermark....Watermark Product Solution GroupDocs...GroupDocs.Watermark Product Family / GroupDocs.Watermark for Java...