Skip to main content
⚠️ Archived Version

You are viewing documentation for Design Editor version 7.2, which is no longer actively maintained. For the latest features and updates, please refer to the current version (7.3).

Interface: IWatermarkTextConfig

A configuration of watermark text.

Remarks

IWatermarkConfig uses this interface.

Example

configuration = {
watermark: {
text: {
text: "watermark",
fontSettings: {
postScriptName: "LucidaSans-Italic",
size: 14,
fauxBold: false,
fauxItalic: false,
},
scale: 0.28,
opacity: 0.5,
},
visibility: {
proof: true,
canvas: true,
},
},
};

Properties

text?

optional text?: string

The text of the watermark.


fontSettings?

optional fontSettings?: IFontSettings

The font settings of watermark text.


scale?

optional scale?: number

The scale of watermark text. The default value is 0.28.


opacity?

optional opacity?: number

The opacity of watermark text. The default value is 0.1.

Was this page helpful?