Generate a pdf with images on header and footer with iText
问题 I am looking forward to create a pdf using iText. The pdf will have a header and a footer. Both the header and footer will have a image (company logo) in it. I am looking forward to an example similar to that. I will be using the iText library for the first time so I am not sure where to start off from. 回答1: To add headers and footers to a PDF you generate using iText 7.x, you will generally create event listeners for page starts and/or page ends and add the header and footer contents there