GroupDocs.Watermark for .NET

Fast and Easy Photo Watermarking with .NET

Our powerful C# library allows for rapid watermarking of your photos, helping you secure copyright and enhance brand identity without compromising image quality.

Enhance Your Documents: Generate Watermarks for Photo using .NET

GroupDocs.Watermark for .NET is a library that simplifies adding watermarks to various business file formats for .NET developers. Integrate our library into your application and effortlessly watermark documents using these following steps:

  1. Initiating Your Watermarking Journey: Start by acquainting yourself with the Watermarker class, the cornerstone of our API. To begin the process, ensure you instantiate it prior to document processing. Don’t overlook the importance of providing the Photo file to the constructor, whether it’s a path or a stream object.
  2. Crafting Custom Watermarks: Move on to the next phase by creating a Watermark object tailored to your specifications. This versatile tool isn’t limited to specific document pages; it can also be seamlessly integrated into native document elements like attachments or headers.
  3. Fine-tuning Watermark Attributes: Refine your watermarking experience by adjusting properties such as height, width, page alignment, font family, and color. This level of customization ensures your watermarks blend seamlessly with your documents.
  4. Applying Your Watermarks: Utilize the Watermarker method to effortlessly apply your custom watermarks to your documents. Whether you need to add one or multiple watermarks, this process offers flexibility. For added security, consider saving your processed documents in a separate location.
// Generate text watermark in PHOTO file

// Provide file to be watermarked
using (Watermarker watermarker = new Watermarker("input.png"))
{
    // Generate text watermark instance
    Font font = new Font("Arial", 19, FontStyle.Bold | FontStyle.Italic);
    TextWatermark watermark = new TextWatermark("my watermark", font);
    watermark.ForegroundColor = Color.Red;
    watermark.BackgroundColor = Color.Blue;
    watermarker.Add(watermark);

    // Save PHOTO result
    watermarker.Save("output.png");
}
dotnet add package GroupDocs.Watermark
click to copy
copied
More examples Documentation

Deep dive into Adding Watermarks

Leverage our powerful API to render, display, convert, and manage documents, slides, diagrams, and various other document types within .NET applications. GroupDocs.Watermark seamlessly integrates watermarking capabilities to enhance document security and copyright protection.

Add Watermark

Watermark Your Documents Effortlessly

GroupDocs.Watermark empowers .NET developers to easily integrate watermarking into their applications. Add text, image, or dynamic watermarks to popular business documents and files effortlessly, ensuring your content is secure and branded consistently across all platforms.

Tailor Watermarks to Meet Your Needs

Customize watermarks to match your specific requirements with extensive features supported by GroupDocs.Watermark. Adjust size, rotation, transparency, color, and font to ensure your watermark not only looks perfect but also enhances document security without obstructing important information.

Harness Native Document Features for Watermarking

Utilize the inherent features of document formats for sophisticated watermarking. Whether it’s using native PDF annotations, MS Word backgrounds, or Excel headers and footers, GroupDocs.Watermark integrates deeply with document structures to apply watermarks that are both effective and minimally invasive.

Generate image watermark for DOCX

This example shows how to apply image effects to the shape watermarks.

C#


    //  Load Word document
    var loadOptions = new WordProcessingLoadOptions();
    using (Watermarker watermarker = new Watermarker("source.docx", loadOptions))
    {
        //  Set up watermark options
        using (ImageWatermark watermark = new ImageWatermark("logo.png"))
        {
            WordProcessingImageEffects effects = new WordProcessingImageEffects();
            effects.Brightness = 0.7;
            effects.Contrast = 0.6;
            effects.ChromaKey = Color.Red;
            effects.BorderLineFormat.Enabled = true;
            effects.BorderLineFormat.Weight = 1;

            WordProcessingWatermarkSectionOptions options = new WordProcessingWatermarkSectionOptions();
            options.Effects = effects;

            //  Generate watermark
            watermarker.Add(watermark, options);
        }

        //  Save updated document
        watermarker.save("result.docx");
    }

GroupDocs.Watermark for .NET

GroupDocs.Watermark for .NET offers a powerful solution for photographer’s services looking to protect their copyright and brand identity. This API enables the quick addition of text or graphic watermarks to photos across a variety of formats including JPEG, PNG, and RAW. Customize your watermarks for transparency, size, and position to blend seamlessly with the photo, maintaining aesthetic quality while asserting your legal rights and deterring unauthorized use.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Watermark for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Safeguard Your Photos with Effective Watermarks C#

Secure and stylize your photographic content with customizable watermarks using our .NET C# API, designed to integrate seamlessly and preserve image quality.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English