New to Telerik UI for ASP.NET MVC? Download free 30-day trial

PDF Export

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
pdf_export.cshtml
Pdf_ExportController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

Nowadays, the PDF format is very popular and widely used to present documents in a manner independent of application software, hardware and operating systems. This demo demonstrates how to export the Telerik MVC Editor contents to PDF.

The approach is very straight-forward - to export the content to PDF include the corresponding command to the editor’s toolbar .Tools(tools => tools.Pdf()) and configure the export settings through the Pdf attribute. For instance, you can specify the file name and whether to export all pages, margins, paper size, font, etc.

Support & Learning Resources