Extending the RadEditor PDF exporting with PdfFormatProvider

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 14 May 2015 Link to this post


    Telerik Product and Version

    Q2 2015

    Supported Browsers and Platforms

    All browsers supported by the Telerik UI for ASP.NET AJAX

    Components/Widgets used (JS frameworks, etc.)


    Here you can find an example project showing how to extend the RadEditor built-in PDF exporting, by creating a RadEditorExportTemplate abstract class and integrating the PdfFormatProvider.

    This blog post—Using an external library for the export to PDF functionality in Telerik’s ASP.NET Editor—best illustrates how to implement a custom RadEditorExportTemplate for your needs. What you need further is to use the new PdfFormatProvider, which enables you to convert RadFlowDocument to RadFixedFocument.

    Required Additional Assemblies:

    • Telerik.Windows.Documents.Core
    • Telerik.Windows.Documents.Fixed
    • Telerik.Windows.Documents.Flow
    • Telerik.Windows.Documents.Flow.FormatProviders.Pdf
    • Telerik.Windows.Zip

      Note: The assemblies are not included, make sure to add references for Telerik.Web.UI and the required assemblies.

Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.