Watermark

Watermark

Forum member · Feb 20, 2013
It's posible to add a watermark when the document is converted. Regards Mayolo

Re: Watermark

Support · Feb 21, 2013
Hello, You can achieve your requirement by using combination of two DynamicPDF products. The DynamicPDF Converter for .NET to convert the other file types to PDF and other DynamicPDF Merger for .NET product to add watermark to converted PDF document. You can download fully functional evaluation edition of DynamicPDF Merger for .NET product from our website here . Also refer sample examples downloaded with the product download. It is not possible to add watermark to the converted PDF document using DynamicPDF Converter for .NET product alone. Below is the sample code to convert the other file type to PDF and then add watermark to it using DynamicPDF Merger for .NET product. //Step1. Convert the other file types to PDF using DynamicPDF Converter for .NET API. //Here we used .txt file path. similarly you can use other supported file type. Byte[] bytedata = Converter.Convert(@"C:\Temp\Test.txt"); //Step2. Edit the convetred PDF to add watermark using DynamicPDF Merger API. PdfDocument pdfDocument = new PdfDocument(bytedata); MergeDocument document = new MergeDocument(pdfDocument); Template template = new Template(); Label lblWatermark = new Label("WATERMARK", 200, 100, 200, 100); lblWatermark.FontSize = 20; lblWatermark.TextColor = RgbColor.Red; TransparencyGroup groupObj = new TransparencyGroup(0.3F); groupObj.Add(lblWatermark); template.Elements.Add(groupObj); document.StampTemplate = template; //Draw the PDF document.Draw(@"C:\Temp\Test.pdf"); Thanks, ceTe Software Support Team.

Re: Watermark

Forum member · Dec 2, 2013
Hi i have added already a watermark using pdfclown, when the license of the pdf converter was not set the watter mark of the files appear, but when i register the dll of pdf converter the watermark it's not appering, what could happen? REgards Mayolo

Re: Watermark

Support · Dec 2, 2013
Hello Mayolo, Adding our converter licensing info to the application would not cause any issues with the watermark you are having in the files. We do not remove any content from the files when converting. Can you please send over the input file with watermark and the code you are using to our [^a|mailto:support@cete.com|opennewwindow|support Team^] so that they can look into it further. Thanks, ceTe Software Support Team.