Search found 2 matches

by ddtna21
Tue Dec 19, 2023 11:03 am
Forum: PDF
Topic: How to set the transparency solely for the watermark?
Replies: 3
Views: 13601

Re: How to set the transparency solely for the watermark?

Hello, Thank you for your response but i figured it out I just need to add one more line of code. I'll leave it here in case anybody need it in the future. int watermarkId = imagingGdPicture.CreateGdPictureImageFromByteArray(watermarkBytes); imagingGdPicture.SetTransparency(watermarkId, -128); imagi...
by ddtna21
Wed Dec 13, 2023 12:44 pm
Forum: PDF
Topic: How to set the transparency solely for the watermark?
Replies: 3
Views: 13601

How to set the transparency solely for the watermark?

Hello, I am trying to adding watermark into document with this code. Now i am having a problem. If i put the transparency to 0, the watermark is on top of the document, but if i put the transparency to -128 like in this code, its affecting the transparency of the entire document. How can i fix the c...