The SfDataGrid can be exported into Pdf with Header and Footer using PdfHeaderFooterEventHandler property in PdfExportingOptions. C#
You can insert string, image or any drawing in header and footer in PdfHeaderFooterEventHandler. Setting PdfPageTemplateElement to PdfHeaderFooterEventArgs.PdfDocumentTemplate.Top loads the content at top of the page and setting the PdfPageTemplateElement to PdfHeaderFooterEventArgs.PdfDocumentTemplate.Bottom loads the content at bottom of the page. Drawing string in Header String can be inserted in header or footer by using DrawString method. In the same way, you can insert image, ellipse or arc into the header or footer. C#
Drawing image in Footer Image can be inserted in header or footer using DrawImage method. C#
Sample: |
This page will automatically be redirected to the sign-in page in 10 seconds.