Applies to : PowerDocs 26.9 and later

Adding Watermarks

A Watermark is a semi-transparent text overlay rendered across document pages in exported PDF files. Watermarks are an essential publishing feature in enterprise environments, providing visual indicators of document status, confidentiality, or ownership.

PowerDocs allows you to add custom static text or dynamic watermarks directly from the Document Plan Editor.

Why Use Watermarks in PDF Documents?

Watermarks serve key security and workflow purposes across business and technical document lifecycles:

  • Draft & Review Management: Clearly marks pre-release specifications or proposals (e.g., DRAFT, FOR REVIEW ONLY) to prevent accidental distribution or execution.
  • Confidentiality Protection: Stamps security markings (e.g., CONFIDENTIAL, INTERNAL USE ONLY) diagonally across content to deter unauthorized copying, printing, or screen capture.
  • Brand & Copyright Ownership: Displays company branding or legal disclaimers on distributed materials.

How to Add a Watermark in PowerDocs

Adding a watermark to your PDF output is configured directly within your document plan:

  1. Open your .yml plan file or launch the editor window
  2. Click on the Header & Footer tab
  3. In the Watermark section:
    1. Enter your desired text in the Watermark input field. The watermark can be static text (e.g., CONFIDENTIAL) or combine static text with dynamic variables.

Using Dynamic Variables in Watermark Text

Note

It is not possible to create custom variables for the moment. However you can use extensions to replace tags at render-time, see PowerDocs Dev Center

PowerDocs supports dynamic variable expansion inside the Watermark field. At PDF compilation time, variables are automatically populated with your plan's global metadata values:

Variable Resolves To Watermark Input Example Rendered Output Example
%Company Global Company metadata PROPERTY OF %Company PROPERTY OF Acme Corporation
%Date Current generation date DRAFT - %Date DRAFT - 2026-09-02
%Version Document version number INTERNAL REVIEW v%Version INTERNAL REVIEW v1.2.0
%Title Document title %Title - CONFIDENTIAL System Architecture Specification - CONFIDENTIAL
%Author Document author name REVIEW COPY - %Author REVIEW COPY - John Doe