logo
small logo
  • Products
  • Buy
  • Support
  • About
  • Customer panel Support
    • en
    • de
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • How to watermark a DOCX or RTF document in a .NET application
  • MS Word format vs. Open Document Text. Which is better?

    October 19, 2020

    Speaking of text editors, we immediately present coryphaeus as Microsoft Word, which for many years

    read more
  • Instant report from RTF

    October 20, 2021

    Few people know that FastReport .NET report generator allows you to quickly convert an

    read more
  • The Event of ExportParameters in WebReport.Report

    October 5, 2020

    In FastReport 2020.1 we have added the ability to change export parameters. To do this,

    read more
  • Want to generate tables for a user - Excel or OpenOffice Calc?

    October 8, 2020

    Tables. For centuries, they have been used to present similar data for record-keeping, counting amounts,

    read more
  • How to create a RTF file from Delphi / C++Builder / Lazarus application?

    June 17, 2020

    A frequent question is how to send a document from a Delphi application to RTF.

    read more

How to watermark a DOCX or RTF document in a .NET application

December 6, 2021

Watermark exports to .DOCX and .RTF files have been added in FastReport .NET. limitation - the sign cannot be positioned above the text.

A watermark is a text or image (mostly semi-transparent) that is superimposed so that it does not interfere with viewing the document. It is used to protect the content of documents from commercial use by non-owners or fraud.

Example of a document with a watermark:

Sample document with a watermark

Add watermarking from a code:

//Create instance of class Report
Report report = new Report(); 
//Create report page
ReportPage pageBase = new ReportPage();
//Add text watermark
pageBase.Watermark.Enabled = true;
pageBase.Watermark.Text = "Watermark";
//Add created page to report page collection
report.Pages.Add(pageBase);

The result of adding a watermark in the preview:

Watermark in a preview

Result of exporting a watermarked report to RTF:

Watermark in RTF

The result of exporting a watermarked report to Word 2007:

Watermark in DOCX

These improvements will help protect your reports from unwanted use.

about product buy
avatar
Vladislav Yarovoy
.NET Development
Fast Reports Team: Vladislav Yarovoy - NET Development at Fast Reports
.NET Export FastReport RTF Word

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • FAQ
  • Tutorial Video
  • Forum
  • Support SLA
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Extended licensing
  • Contact us

© 1998-2023 by Fast Reports Inc.

  • Privacy Policy

Trustpilot