Extending the RadEditor PDF exporting with PdfFormatProvider

Thread is closed for posting
1 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 14 May 2015 Link to this post

    Requirements

    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.)

    .NET4+


    PROJECT DESCRIPTION 
    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.