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

Add Watermarks to DOC Documents Using C#

Optimize document workflows by programmatically adding watermarks to DOC files with 'Wordize for .NET'. Whether protecting proprietary DOC files or branding official reports, our solution applies professional watermarks with precise positioning across all DOC pages. The C# API enables creation of text/image watermarks with extensive customization, saving manual editing time while ensuring fast, professional results for DOC 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 DOC 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.doc", "Output.doc", "Text");
using Wordize.Watermarking; Watermarker.SetText("Input.doc", "Output.doc", "Text"); using Wordize.Watermarking; using Wordize.Saving; var imageStreams = Watermarker.SetWatermarkToImages("Input.doc", new ImageSaveOptions(SaveFormat.Doc), "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}.doc"); stream.CopyTo(file); }
using Wordize.Watermarking;

Watermarker.SetImage("Input.doc", "Output.doc", "Watermark.jpg");
using Wordize.Watermarking; Watermarker.SetImage("Input.doc", "Output.doc", "Watermark.jpg"); using Wordize.Watermarking; using Wordize.Saving; byte[] watermarkImageBytes = File.ReadAllBytes("Watermark.jpg"); var imageStreams = Watermarker.SetWatermarkToImages("Input.doc", new ImageSaveOptions(SaveFormat.Doc), 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}.doc"); stream.CopyTo(file); }
Run code

How to Add Watermarks to DOC Files in C#

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