This is a migrated thread and some comments may be shown as answers.

RadDocument docx -> pdf missing watermark

3 Answers 155 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ipnordic
Top achievements
Rank 1
ipnordic asked on 08 Sep 2014, 07:59 AM
Greetings,

Using the newest Telerik version updated from Telerik Control Panel.

Goal: Use OpenXML. Make a program that can load a docx document, add a watermark, save to docx and convert to pdf.

I've made a program that reads a docx document into a WordprocessingDocument. It then adds a watermark and saves the docx. This works and afterwards i verified in Word 2013, that the watermark is in fact in the file.

Then i need to convert this docx to a pdf using RadDocument & PdfFormatProvider. So i read the docx into a RadDocument using docxprovider.Import(stream) and save it using providerPdf.Export(document, output).

The outcome is a pdf document without the watermark.

What am i missing? Please advise.

(I tried converting the very same generated docx document to pdf using a free online service, and it's working, adding a watermark to the generated pdf.)

Best Regards,
T

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 11 Sep 2014, 08:04 AM
Hello Thorben,

Thank you for writing.

I can confirm that this is indeed an issue in PdfFormatProvider. I have logged it on the following url: UI for Winforms Feedback Portal - FIX. PdfFormatProvider - Exporting a document with a watermark does not export the watermark. You can follow it or add any comments by following the url above. Due to the nature of the provider I cannot provide you with a workaround for the time being.

I have also updated your Telerik Points for reporting this.

Let me know, should you have other questions.

Regards,
George
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Unite
Top achievements
Rank 1
answered on 26 Jan 2018, 03:38 AM

Add watermark to your converted pdf online using this free tool:

https://www.unitepdf.com/watermark-pdf.aspx

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Jan 2018, 09:52 AM
Hello, 

Thank you for writing.  

In the referred feedback item, you can see that the watermark functionality is introduced in Q3 2014 SP1. RadRichTextEditor supports watermarks out of the box: https://docs.telerik.com/devtools/winforms/richtexteditor/features/watermark

It also allows exporting its content to pdf together with the watermarks. Please refer to our Demo application >> RichTextEditor >> First Look example: 



I hope this information helps. Should you have further questions I would be glad to help. 
 
 Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
ipnordic
Top achievements
Rank 1
Answers by
George
Telerik team
Unite
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or