GroupDocs.Watermark for Java allows Java developers to easily adjust watermarks in many documents using their applications. Here’s a quick guide:
- Firstly, you need to pass Rtf file as parameter of the Watermarker class constructor. Provide byte or file stream or a local disk path.
- Secondly, locate the watermarks that need to be adjusted. Use SearchCriteria to identify watermarks with the specific properties previously added to the document.
- Following the search, you’ll receive a list of relevant watermarks. You can then adjust their properties, including size, page alignment, text, color, image content, and more. This offers a high degree of customization for your data.
- Once you’ve finished adjusting the watermarks, save the updated document. You can use a local file path, or stream to store the result.