IWatermarkConfig Interface

A configuration of watermarks. For details, see the Watermarks topic.

example
configuration = {
    watermark: {
        text: {
            text: "watermark",
            fontSettings: {
                postScriptName: "ArialMT",
                size: 14,
                fauxBold: false,
                fauxItalic: false
            },
            scale: 0.28,
            opacity: 0.5
        },
        image: {
            name: "watermark.png",
            repeat: true,
            opacity: 0.1
        },
        visibility: {
            proof: true,
            canvas: true
        }
    }
};

Properties

Optional image

Configures the image of the watermark.

Optional text

Configures the text of the watermark.

Optional visibility

Configures visibility of the watermark.