logo
logo

Watermark settings

The following tables describe the watermark settings available in the Watermark dialog box:

Overview

In the Overview section, you can define the settings described in the following table.

FieldTypeNotes
NameTextThis field is mandatory, and must be unique.
Watermark formatText and variablesVariables can be any property and can be next to text. The default is {User}. The format is truncated at 60 characters and the values are case-insensitive ({User} or {user} work. For example, {User} viewed {Title} on {Date}:
  • {User} returns the current user.
  • {Title} returns the title of the asset.
  • {Date} returns the current date and time, depending on the date format used.
Valid Watermark format values are:
  • String values: {1} returns an error.
  • Single values: {user Title} returns an error.
  • Non-multilingual values: Only primary culture properties are supported.
Rendition linksListProvides a list of renditions to select from. The watermark applies to all selected renditions.

Style

In the Style section, you can define the settings described in the following table.

.
FieldTypeDescription
Text colorHEX (hexadecimal) color codeColor of the watermark text
  • Full or short HEX code
  • Default: #FFFFFF (short: #fff)
Text sizePixels (px)Size of the watermark text
  • Range: 1 px to 72 px
  • Default: 24 px
Date formatDate/timeThe Date format screen provides a list of date formats and timestamps to select from
  • Format must be valid
  • Default: NULL
AngleDegrees (°)Angle of the watermark
  • Range: to 360°
  • Default: 30°
OpacityPercent (%)Opacity of the watermark
  • Range: 0% (entirely transparent) to 100% (opaque)
  • Default: 20%
OffsetX%, Y% Relative offset of the X and Y axis of the watermark
  • Range: 1% to 100%
  • Default: X50%, Y50%

Text color

The following image shows an example of watermark text colors.

Text colorWatermark
Red: #FF0000

Text size

The following image shows an example of watermark text sizes.

Text sizeWatermark
60 px

Date format

To define a date format and open the Date format dialog box, click Add .

Angle

The following image shows an example of watermark angles.

AngleWatermark
80°

Opacity

The following image shows examples of watermark opacity values.

Percent of OpacityWatermark
Default (20%)

Offset

The following image shows examples of watermark offset values.

Offset of X and Y axesWatermark
Default (X50%, Y50%)

Background image

In the Background image section, you can define the settings described in the following table.

FieldTypeDescription
Image URLURL or pathThe URL link or file path of the background image
  • URL link or file path must be valid
  • Default file path: /img/background.png
  • Can be any public link created in Sitecore Content Hub
    OpacityPercent (%)Opacity of the background image
    • Range: 0% (entirely transparent) to 100% (opaque)
    • Default: 50%
    PositionList Position of the background image on the watermark:
    • The drop-down list gives a choice of positions to select from.
    • The default is Bottom-right

    Image margin

    The following image shows an example of background image margin (with the position set to Bottom).

    Background marginWatermark
    10%

    Image opacity

    The following image shows an example of background image opacity.

    Background opacityWatermark
    100%

    Image position

    The following image shows an example of background image positions.

    PositionWatermark
    Top-left

    Position selection

    You can select the position of the watermark from the list of available positions:

    • Top-right
    • Left
    • Center
    • Right
    • Bottom-left
    • Bottom
    • Bottom-right

    Can we improve this article ? Provide feedback