I am converting the HTML content into PDF using pdfConverter in .Net. So I wanted to add a Footer for every page as in my PDF I have multiple questions with answers, so there can be 3-4 pages and every page should have the same footer. How can I achieve this?
Loading

Madhu PatelPosted Feb 27, 2024, 5:28 AM
I did the same in my code and now I am getting this:-
'PdfDocumentOptions ' does not contain a definition for 'Footer'
Jayraj ChhayaPosted Feb 26, 2024, 11:56 AM
To add a footer to every page in the PDF generated using pdfConverter in .Net, you can utilize the
PdfConverter.PdfDocumentOptionsclass.Here's a sample code snippet to achieve this:
By setting the
ShowFooterproperty totrueand customizing the footer text, font size, alignment, and other properties withinPdfDocumentOptions, you can ensure that every page in the PDF includes the specified footer content.