Free Support Forum -

Problem adding watermark in evaluation mode to pdf document

Using the following piece of code returns no error. But when i open the watermarked pdf returns adobe read error 14.

            PdfLoadOptions loadOptions = new PdfLoadOptions();
            // Constants.InDocumentPdf is an absolute or relative path to your document. Ex: @"C:\Docs\document.pdf"
            using (Watermarker watermarker = new Watermarker(filePath_open, loadOptions))
                PdfArtifactWatermarkOptions options = new PdfArtifactWatermarkOptions();
                // Add text watermark
                TextWatermark textWatermark = new TextWatermark("This is an artifact watermark", new Font("Arial", 8));
                textWatermark.HorizontalAlignment = HorizontalAlignment.Right;
                options.PageIndex = 1;
                watermarker.Add(textWatermark, options);
                //// Add image watermark
                //using (ImageWatermark imageWatermark = new ImageWatermark("C:\\Users\\lmcastro\\OneDrive - CRITICAL SOFTWARE, S.A\\Test Projects\\SyncFusion_Library\\GroupDocks\\E1r9X.png"))
                //    watermarker.Add(imageWatermark, options);


Could you please specify the API version that you integrated in the project (e.g. 20.5, 20.7)?

Hi @Atir_Tahir,

thank you for your reply. The version used is 20.7.0 (free version).


We couldn’t reproduce this issue using sample PDF and even in trial mode (without applying license). Have a look at these source and output (201.5 KB). Could you please share the problematic file/PDF and we’ll test that at our end?