Free Support Forum - groupdocs.com

How do I create transparent watermarks? 3.0 version


#1

Hi Sir,
I use GroupDocs.Viewer.Examples.CSharp to add watermark on doc.
Does Watermark object support “Opacity” property?
Thanks.


#2

Hi Ho,


Thank you for your query.

Currently GroupDocs.Viewer have no any option to set the transparency/opacity of the watermark. However, I am going to create a ticket of this new feature in our issue/task tracking system.


Many Thanks.

#3

The issues you have found earlier (filed as VIEWERNET-475) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by groupdocs.notifier.

#4
Hi Umar,
Thank you.

Best Regards,
Rainmaker.

#5


You are welcome :)

#6

Place this at the end of the page. This works for rendering files as HTML.


/* I think this is for 2.0 /
.html_watermark{
opacity: 0.<>;
filter: .<>;
}
/ This should work for 3.0*/
.doc-page-watermark{
opacity: 0.<>;
filter: .<>;
}
Does not seem to work for image renderings though…

#7

Hi R darling,


Thank you for your suggestion.

Infact, css/stylesheet is relevant to the front-end and it applies after rendering. As the matter of fact, the css/styles can only be applied on the HTML. It cannot take any effect inside the image body.
Hence, the rendering is the back-end operation, that’s why no post rendering measures would take effects on image based rendering.

Note: Your raised issue is already under the product team’s process.

Please stay tuned!