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

Convert RadRichTextBox to PDF

1 Answer 173 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Ted
Top achievements
Rank 1
Ted asked on 16 Dec 2014, 09:18 PM
We're using the RadRichTextBox in a WPF application to create and store documents in a proprietary XML format.  We're using a formatter to convert them back to XAML for editing but we would also like to display requested documents on the web as PDF images.  While we can render a PDF version at the time the document is saved using RadRichTextBox, we would rather avoid the duplicate storage and render them as PDF when the document is requested from the site.

Is there a method for doing this type of conversion in a service?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 18 Dec 2014, 03:06 PM
Hello Ted,

We don't have such service, but maybe you could use the WPF assemblies related to RadRichTextBox to create one. The Telerik.Windows.Documents.FormatProviders.Pdf.dll exposes a format provider that allows to export a RadDocument instance to PDF, so you could implement the conversion between the XAML and PDF formats.

Let me know if you have other questions.

Regards,
Petya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RichTextBox
Asked by
Ted
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or