Hi,
When using the new RadClientExportManager feature to export an entire HTML page to PDF, is it possible to add headers and footers to each page of the resulting PDF file (like for a title or for page numbers) when the resulting file is multiple pages?
In order to achieve the desired functionality, you can handle the same function responsible of the export that you use and modify the html of the page that is about to be exported. In the attachment you can find a simple example on how to achieve this.
Regards,
Nencho
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
I am using Winforms, and I am using Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider(). I need to have page number footers in my converted PDF. Is there a way to do this?
0
Tanya
Telerik team
answered on 11 Sep 2018, 02:22 PM
Hello Cameron,
You can achieve that by exporting the document to a RadFixedDocument instance using the ExportToFixedDocument() method of Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider. Then, you can draw any data you would like to add to the document with the FixedContentEditor class.
Get quickly and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.