# PDF Export

The Telerik UI Editor for ASP.NET MVC comes with a built-in option to export its content to PDF. To enable the PDF export, add the `Pdf` tool to the widget's toolbox:

```Razor HtmlHelper
    @(Html.Kendo().Editor()
            .Name("editor")
            .Tools(tools => tools
                .Pdf()
            )
    )
```

Customizations such as file name, font size, export of all pages can be added to the [`Pdf`](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/editorpdfsettingsbuilder) option of the widget:

```Razor HtmlHelper
    @(Html.Kendo().Editor()
        .Name("editor")
        .Pdf(pdf => pdf
            .Margin(20, 20, 20, 20)
            .FileName("Telerik UI Editor Export")
            .ProxyURL(Url.Action("Pdf_Export_Save", "Editor"))
            .PaperSize("A4")
        )
        .Tools(tools => tools
            .Pdf()
        )
    )
```

## See Also

* [PDF Export in the Editor HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/editor/pdf-export)
* [Server-Side API](https://www.telerik.com/aspnet-mvc/documentation/api/editor)
