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

PDF Question

1 Answer 71 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 21 Dec 2010, 09:36 PM
Hello, everyone. I would like to take take text from a RadEditor control and add it to a PDF document that I am generating using 3rd party libraries.
So far the only ways I have thought to do this are either to superimpose a PDF generated from the RadEditor on a PDF I am creating ... or somehow write a manual PDF parser to take the raw PDF from RadEditor and inject it into the new one.
Neither of these options are desirable.

Can someone please tell me, is there any other way to do what I'm trying to accomplish?
Thanks!

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 24 Dec 2010, 11:50 AM
Hi Michael,

Review the following online demo: Editor / Export to PDF

This online demo demonstrates the export to PDF feature of RadEditor.

To export the editor content to PDF format:
   1. Enable the PdfExportFilter filter of RadEditor: ContentFilters="DefaultFilters,PdfExportFilter" - if it is disabled the tables wont be exported
   2. Fire the ExportToPdf() server-side method to export the content to PDF file


It is also possible to export the content as PDF on the server via the new OnExportContent event property of RadEditor.


Best wishes,
Stanimir
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Michael
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or