Java API to Manipulate Watermarks

‎‎Develop Java Applications to Perform Image & Text Watermarking Operations with Smart Search & Robust Security.

Download Free Trial

GroupDocs.Watermark for Java allows you to make business applications that enable your end-users to apply new watermarks, search and delete existing watermarks in files of supported formats. You can programmatically assign digital watermarks to lots of file formats and utilize its powerful smart search abilities. GroupDocs.Watermark for Java provides various built-in security measures that can be employed to avoid misuse of digital documents that contain sensitive information or intellectual property content.

GroupDocs.Watermark for Java Features

Pull all Documents of Various Formats from a Folder and Apply or Remove Watermarks

Employ or Delete Watermark from a Particular Section or Complete Document

Apply Watermark to all Images in a Particular Section, Page, Slide, or Document‎

Attach Watermark to Selected Frames of a Multi-Framed Image

Apply Hidden Watermark to PDF to Appear when Printing Document

Employ Watermark to Attachments in an Excel Document & all Image Shapes in Slides

Place Watermark or Delete it from the Background Images of Slides or Excel Sheet

Set Watermark to Supported Files in Attachments of an Email or PDF File

Add or Delete Watermark as XObject, Artifacts & Annotations in PDF Filese

Delete Watermark matching Text with Particular Formatting

Find Image Watermarks resembling a Particular Image

Identify Text Watermark even if there are Unreadable Characters between Letters

Look for Watermarks based on Specific Parameters or by Assigning Multiple Criteria

Specify Font Formatting to locate Matching Text Watermark

Get Page, Slide, Cell Dimensions for Absolute Size & Positioning of Watermark

Apply Watermark to Images inside any Header & Footer in Supported Document Formats

Add Watermark to Image Shapes in a Word Document & Restrict Editing of Watermarks

Secure Text Watermark in Presentations using Unreadable Characters

Protect PDF Document Watermarks by Rasterizing Single Page or Whole Document

Modify Text Formatting when Replacing Current Text Watermark

Align Watermark to Bleed Box, Art Box, Crop Box, or Trim Box in PDF File

Employ Watermarks

GroupDocs.Watermark for Java allows you to work with numerous kinds of watermarks. It is only a matter of few lines of code to add watermark of any type. Following example shares, how you can add an image watermark in a Word document using Java:

Document doc = Document.load(Common.mapSourceFilePath("D://test.docx"));
Font font = new Font("Times New Roman", 12);
TextWatermark watermark = new TextWatermark("Test watermark", font);

// Set sizing type
watermark.setSizingType(SizingType.ScaleToParentDimensions);

// Set watermark scale
watermark.setScaleFactor(0.5);

doc.addWatermark(watermark);
doc.save(Common.mapOutputFilePath("D://test.docx"));
doc.close();

Add Watermark to Files of Different Formats in a Go

With GroupDocs.Watermark for Java API you can add or remove watermark of all documents present in a particular folder in batch mode. It does not matter, if the documents are of different format, GroupDocs.Watermark for Java will apply watermark to all the files accurately.‎‎

Assign Foolproof Security to your Watermarks

With minimal code you can assign foolproof security to your watermarks and make it extremely difficult for any 3rd party tool to modify or remove your assigned watermark from PDF file. It is so because GroupDocs.Watermark for Java allows you to convert all pages of a PDF file into Rasterized images. This approach makes your digital watermarks secure while keeping their quality near to original.‎

Support and Learning Resources

GroupDocs.Watermark offers document viewing APIs for other popular development environments