Convert RadRichTextBox to PDF

2 posts, 0 answers
  1. Ted
    Ted avatar
    4 posts
    Member since:
    Apr 2014

    Posted 16 Dec 2014 Link to this post

    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.
  2. Petya
    Petya avatar
    989 posts

    Posted 18 Dec 2014 Link to this post

    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.


    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.

Back to Top