GroupDocs.Watermark for .NET

Secure RTF with .NET C# Watermarks

Use .NET C# to apply secure, customizable watermarks to RTF files, perfect for maintaining document integrity within MS Word environments.

Effortlessly Generate Watermarks for Rtf Documents

GroupDocs.Watermark for .NET: Advanced Watermarking library for .NET applications. Empower your solution and secure documents with watermarks just in time.

  1. Core Class: Watermarker. The main class of our API is Watermarker. You need to instantiate it before document processing. Do not forget to pass the Rtf file to the constructor as a path or a stream object.
  2. Crafting Your Watermark. The next step is constructing a Watermark object of the desired type. It can be placed not only on a specific document page but also in native document parts like images or headers.
  3. Fine-Tuning Appearance. Set watermark properties such as height and width, top, left, central alignments, fonts and colors, etc.
  4. Applying and Saving. Use the Watermarker method to add a new watermark. Feel free to add as many watermarks as you need. You may save the watermarked document to any location.
// Generate image watermark in RTF file

// Provide source file path to Watermarker constructor
using (Watermarker watermarker = new Watermarker("input.rtf"))
{
    // Generate image watermark instance with image file
    using (ImageWatermark watermark = new ImageWatermark("watermark.png"))
    {
        watermarker.Add(watermark);
    }
    // Save watermarked RTF result
    watermarker.Save("output.rtf");
}
dotnet add package GroupDocs.Watermark
click to copy
copied
More examples Documentation

Elevate Your Watermarking Game

Unlock advanced watermarking capabilities with our GroupDocs.Watermark API for .NET. This powerful tool allows for precise customization and application of watermarks across various document types to ensure maximum security and copyright adherence with minimal visual disruption.

Comprehensive Watermarking Solutions

Sophisticated Tiling Options

Extend your watermarks across entire documents seamlessly with our tiling options. This feature allows watermarks to cover the full document area, preventing removal and ensuring complete document protection without compromising on design or readability.

Vibrant Color Customization

Add a splash of color to your watermarks! Our API enables full spectrum color customization, allowing you to apply watermarks that perfectly match your corporate branding or document style. Enhance visual appeal while maintaining robust security features.

Enhanced Security Settings

Take document security to the next level with advanced watermark settings. Configure multi-layer watermarks, incorporating both visible and invisible elements, to protect against unauthorized copying and ensure only intended recipients can access critical information.

Generate PowerPoint watermark

This example shows how to add watermark to the PPTX background images

C#


    //  Load PPTX presentation
    var loadOptions = new PresentationLoadOptions();
    using (Watermarker watermarker = new Watermarker("source.pptx", loadOptions))
    {
        //  Set up watermark properties
        TextWatermark watermark = new TextWatermark("Protected image", new Font("Arial", 8));
        watermark.HorizontalAlignment = HorizontalAlignment.Center;
        watermark.VerticalAlignment = VerticalAlignment.Center;
        watermark.RotateAngle = 45;
        watermark.SizingType = SizingType.ScaleToParentDimensions;
        watermark.ScaleFactor = 1;

        //  Watermark slides background
        PresentationContent content = watermarker.GetContent<PresentationContent>();
        foreach (PresentationSlide slide in content.Slides)
        {
            if (slide.ImageFillFormat.BackgroundImage != null)
            {
                slide.ImageFillFormat.BackgroundImage.Add(watermark);
            }
        }

        //  Save processed presentation
        watermarker.save("result.pptx");
    }

GroupDocs.Watermark for .NET

GroupDocs.Watermark for .NET equips .NET C# developers with sophisticated tools to add watermarks to RTF documents effectively. This API enables the integration of both visible and transparent watermarks that can be customized in terms of font, color, size, and position, ensuring they blend seamlessly into the document without obstructing readability. Ideal for legal documents, intellectual property papers, and sensitive communication, GroupDocs.Watermark provides essential protection against unauthorized copying and modification. The tool is designed to be compatible with all versions of .NET, facilitating a secure and adaptable solution for document watermarking.
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.

Implementing Watermarks in RTF with C#

Deploy .NET C# to create robust and subtle watermarks in RTF documents, reinforcing the security and authenticity of your Word files.

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