English Indonesia Tiếng Việt عربي Español Italiano Türk فارسی Français Português Русский ไทย

Add Watermarks to Word Documents Using C#

Optimize document workflows by programmatically adding watermarks to Word files with 'Wordize for .NET'. Whether protecting proprietary Word files or branding official reports, our solution applies professional watermarks with precise positioning across all Word pages. The C# API enables creation of text/image watermarks with extensive customization, saving manual editing time while ensuring fast, professional results for Word documents.

Key Features

  • Customizable text watermarks with font controls and transparency
  • Image watermark support for PNG, JPEG and other formats
  • Positioning via coordinates or predefined locations (center, diagonal)
  • Rotation angle, transparency, and layering adjustments

Use Cases

  • Confidential Documents: "Confidential" or "Not for Distribution" stamps
  • Draft Materials: "Draft" or "Under Review" markings
  • Corporate Docs: Brand reinforcement with company logos
  • Licensed Content: Copyright notices and IP protection

Wordize provides developers powerful tools for automating Word watermarking in C#. With flexible settings, adapt watermarks to exact requirements. By integrating Wordize into .NET projects, developers create robust solutions for document branding, security, and workflow management.

C#
Run code
Upload your document
Upload an image to insert
Select the target format from the list
using Wordize.Watermarking;

Watermarker.SetText("Input.docx", "Output.docx", "Text");
using Wordize.Watermarking; Watermarker.SetText("Input.docx", "Output.docx", "Text"); using Wordize.Watermarking; using Wordize.Saving; var imageStreams = Watermarker.SetWatermarkToImages("Input.docx", new ImageSaveOptions(SaveFormat.Docx), "Text"); foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i))) { using var _ = stream; stream.Position = 0; using var file = File.Create($"Output_{page + 1}.docx"); stream.CopyTo(file); }
using Wordize.Watermarking;

Watermarker.SetImage("Input.docx", "Output.docx", "Watermark.jpg");
using Wordize.Watermarking; Watermarker.SetImage("Input.docx", "Output.docx", "Watermark.jpg"); using Wordize.Watermarking; using Wordize.Saving; byte[] watermarkImageBytes = File.ReadAllBytes("Watermark.jpg"); var imageStreams = Watermarker.SetWatermarkToImages("Input.docx", new ImageSaveOptions(SaveFormat.Docx), watermarkImageBytes); foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i))) { using var _ = stream; stream.Position = 0; using var file = File.Create($"Output_{page + 1}.docx"); stream.CopyTo(file); }
Run code

How to Add Watermarks to Word Files in C#

  1. Install Wordize for .NET
  2. Add library reference (import package) to C# project
  3. Create text/image watermark in Word with required parameters
5%