![]() It is possible to silently export the content as PDF on the server via the OnExportContent event of RadEditor without any user interaction. You can easily switch to Landscape by modifying the PageWidth / PageHeight properties manually. The default page orientation for the PDF file is Portrait. Protected Sub Button1_Click(sender As Object, e As EventArgs) Protected void Button1_Click(object sender, EventArgs e) Header - right cell" TextAlign="Right" />įooter - middle cell" TextAlign="Center" />įooter - right cell" TextAlign="Right" /> Header - middle cell" TextAlign="Center" /> You can define a header and/or footer through these elements for the left/middle/right cell ( Example 1 ). PageBottomMargin / PageTopMargin / PageLeftMargin / PageRightMargin / PageFooterMargin / PageHeaderMarginĪll the page margins could be controlled via these settings. You can define the size manually using PageWidth / PageHeight. These properties are related to the size of the generated page. Sets the page title (appears on the top of the page) Below is a list of them: NameĪllowAdd / AllowCopy / AllowModify / AllowPrintingīoolean properties that determines whether the corresponding action is allowed for the generated PDF fileĪuthor / Creator / Keywords / Producer / Subject / Title There is an additional sub-category ( Pdf) for the ExportSettings dedicated to various configuration settings for the exported. The approach is very straight-forward - to export the editor content to PDF format:Įnable the PdfExportFilter filter of RadEditor: ContentFilters="DefaultFilters,PdfExportFilter" - if it is disabled tables will not be exported.įire the ExportToPdf() server-side method to export the content to a PDF file and send it to the user. How-to Export the RadEditor Content to a PDF File Using an External HTML to PDF Conversion Library. ![]() How-to Export the RadEditor Content to a PDF File.This help article treats the PDF export functionality of RadEditor and the corresponding settings, events and limitations. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |