How can i fix the image watermark.
You can image add to background layer.
Simple example:
var dd = {
background: function(currentPage, pageSize) {
return {image: 'sampleImage.jpg', width: 200, absolutePosition: {x: 50, y: 50}}
},
content: [
'First paragraph',
'Another paragraph, this time a little bit longer to make sure, this line will be divided into at least two lines'
]
}
Hi,
Same method I tried but it's showing dark background picture. Watermark
should be light color ryt. For that also I tried with opacity it's getting
light color but after that whole paragraph contents also getng light. For
that any example
On Sun, 9 Dec, 2018, 19:53 Libor M. <[email protected] wrote:
You can image add to background layer.
Simple example:
var dd = {
background: function(currentPage, pageSize) {
return {image: 'sampleImage.jpg', width: 200, absolutePosition: {x: 50, y: 50}}
},
content: [
'First paragraph',
'Another paragraph, this time a little bit longer to make sure, this line will be divided into at least two lines'
]
}—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bpampuch/pdfmake/issues/1580#issuecomment-445542155,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMV2JkJH-k1nNxJ-s6euVTPnNtdIkd_Eks5u3RzkgaJpZM4ZF8UX
.
Image opacity you can set by opacity property, see playground > _tab IMAGES_.
yeah its there. i have already referred. give some content after opacity image check the output what its happening. FYR please check the attachment
download.pdf
New version released.
Tnq so much
On Sat, 22 Dec, 2018, 18:02 Libor M. <[email protected] wrote:
Closed #1580 https://github.com/bpampuch/pdfmake/issues/1580.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bpampuch/pdfmake/issues/1580#event-2042087247, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMV2Jqtcd5c4l_TzueH-huCXCnh_b_Jqks5u7iZ7gaJpZM4ZF8UX
.
how can i use watermark property but with a image instead a text
Hello @josevenezuelapadron how did you accomplish it ? I'm trying to do same
Most helpful comment
how can i use watermark property but with a image instead a text