adjusting watermark opacity

adjusting watermark opacity

Forum member · Oct 8, 2010
Hi Team, I'm using DynamicPDF Merger to add Text watermark to a PDF file dynamically. eg: Template backgroundTemplate = new Template(); ceTe.DynamicPDF.PageElements.Label labelWatermark = new ceTe.DynamicPDF.PageElements.Label("Water Mark", 0, 250, 500, 100, Font.Helvetica, 50, ceTe.DynamicPDF.TextAlign.Center, RgbColor.Gray); label.Angle = -50; backgroundTemplate.Elements.Add(labelWatermark ); in here we can customized watermark position, hight, width, font type, font size, font colors. but i need to customized opacity is there any way to do that. Thanks & Regards. Thilina Kurukulasuriya Associate Engineer-Technology | Team Imprima- Imprima Leap Virtusa (Pvt) Ltd. 752, Dr Danister De Silva Mawatha,Colombo 09 Phone: + +94 11 460 5500 Ext: 5681 | Facsimile: +94 11 470 2199| Mobile: +94 77 254 8204

Re: adjusting watermark opacity

Support · Oct 8, 2010
Hello Thilina Kurukulasuriya, Yes, you can set font, font size, position etc to the label without any problem. You will have to use the Label page element's properties for this. You can also add transparency to the label by using the TransparencyGroup element. You will have to add the label to the transparency group to get transparent label. Thanks, ceTe Software Support Team.

Re: adjusting watermark opacity

Forum member · Oct 8, 2010
hi Team, Thank you guys let's see whether I'll be able to do that. when there is any blocking issues I'll raise a ticket for that Regards, Thilina