Add text and image watermarks for your documents and images.
Search and modify document watermarks in convenient way.
Get info about watermarks which are presented in your documents.
The library designed to add, search and update various watermark types for popular document formats.
Append text and image watermarks to your business documents.
Get detailed information about watermarks placed in document previously.
Control text, style, image and other watermark features.
Get document info, update hyper-links or pages background etc.
GroupDocs.Watermark typical operations code examples.
// Specify the document to be watermarked
using (Watermarker watermarker = new Watermarker("source.docx"))
{
// Create watermark object
TextWatermark watermark = new TextWatermark("top secret", new Font("Arial", 36));
// Set watermark options
watermark.ForegroundColor = Color.Red;
watermark.HorizontalAlignment = HorizontalAlignment.Center;
watermark.VerticalAlignment = VerticalAlignment.Center;
// Add watermark and save processed file
watermarker.Add(watermark);
watermarker.Save("result.docx");
}
// Specify the document to be watermarked
Watermarker watermarker = new Watermarker("source.docx");
// Create watermark object
TextWatermark watermark = new TextWatermark("top secret", new Font("Arial", 36));
// Set watermark options
watermark.setForegroundColor(Color.getRed());
watermark.setHorizontalAlignment(HorizontalAlignment.Center);
watermark.setVerticalAlignment(VerticalAlignment.Center);
// Add watermark and save processed file
watermarker.add(watermark);
watermarker.save("result.docx");
watermarker.close();
// Specify the document to be watermarked
const watermarker = new Watermarker("source.docx");
// Create watermark object
const watermark = new TextWatermark("top secret", new Font("Arial", 36));
// Set watermark options
watermark.setForegroundColor(Color.getRed());
watermark.setHorizontalAlignment(HorizontalAlignment.Center);
watermark.setVerticalAlignment(VerticalAlignment.Center);
// Add watermark and save processed file
watermarker.add(watermark);
watermarker.save("result.docx");
def run():
# Specify the document to be watermarked
with groupdocs.watermark.Watermarker("source.docx") as watermarker:
font = groupdocs.watermark.watermarks.Font("Arial", 36.0)
# Create watermark object
watermark = groupdocs.watermark.watermarks.TextWatermark("top secret", font)
# Set watermark options
watermark.foreground_color = groupdocs.watermark.watermarks.Color.red;
watermark.horizontal_alignment = groupdocs.watermark.common.HorizontalAlignment.CENTER
watermark.vertical_alignment = groupdocs.watermark.common.VerticalAlignment.CENTER
# Add watermark and save processed file
watermarker.add(watermark)
watermarker.save("result.docx")
GroupDocs.Watermark provides watermarking for popular document and file formats.
Dive deep into key metrics, revealing insights into our achievements, impact, and growth.
The Library is able to process more than 50 of the most popular file formats.
GroupDocs.Watermark for .NET is a popular library with over 500,000 downloads on NuGet.
With over 15K downloads on Maven, GroupDocs.Watermark is a popular choice for Java developers.
Individual developers and top companies worldwide prefer our libraries to build innovative solutions.
GroupDocs libraries are employed by globally renowned and distinguished brands across the world.
GroupDocs.Watermark library supports the following operating systems and frameworks:
Check out our Frequently Asked Questions
Add watermarks to files by your application using our cloud-based REST API.
Use cURL RESTful API to watermark PDF, Word, Excel, PowerPoint, JPEG and other popular file formats.
Empower your .NET applications with documents watermarking features by Cloud SDK for .NET. Protect business documents on your own.
GroupDocs.Watermark SDK designed for Java grants new possibilities for your Java applications and business files.
GroupDocs grants access to web application for adding watermarks to your documents. More than 50 popular file formats could be watermarked in your favorite browser FOR FREE.