Watermark
Properties
text- watermark textcolor- color of textopacityopacity of textbold- bold style of textitalics- italics style of textfontSize- own font size of text (ideal size is calculated automatically) (minimal version: 0.1.60)angle- angle of text rotation (minimal version: 0.1.60)
Examples
Example of simple basic usage:
var docDefinition = {
watermark: 'test watermark',
content: [
'...'
]
};
Example of font style:
var docDefinition = {
watermark: { text: 'test watermark', color: 'blue', opacity: 0.3, bold: true, italics: false },
content: [
'...'
]
};
Example of own font size:
Minimal version: 0.1.60
var docDefinition = {
watermark: { text: 'test watermark', fontSize: 20 },
content: [
'...'
]
};
Example of watermark rotation angle:
Minimal version: 0.1.60
var docDefinition = {
watermark: { text: 'test watermark', angle: 70 },
content: [
'...'
]
};