Click or drag to resize

PdfDocumentAddHTMLFooters Method

Renders HTML page footers to an existing PDF File

Margin spacing on the PDF page for the footer are set to default values of 25mm. An overload method allow footer margins to be chosen specifically or set to zero.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: (
public void AddHTMLFooters(
	HtmlHeaderFooter Footer,
	bool SkipFirstPage = false,
	IEnumerable<int> PageIndexesToAddFootersTo = null


Type: IronPdfHtmlHeaderFooter
An new instance of IronPdf.HtmlHeaderFooter that defines the footer content and layout.
SkipFirstPage (Optional)
Type: SystemBoolean
if set to true, the first (cover) page is not counted or stamped with a footer.
PageIndexesToAddFootersTo (Optional)
Type: System.Collections.GenericIEnumerableInt32
Optional. The PageIndexes (zero-based page numbers) to which the footer will be added.
See Also