Click or drag to resize

PdfDocumentAddFooters Method (SimpleHeaderFooter, Double, Double, Double, Boolean, IEnumerableInt32)

Renders page footers to an existing PDF File

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.3.2.0 (2020.3.2.0)
Syntax
public PdfDocument AddFooters(
	SimpleHeaderFooter Footer,
	double MarginLeft,
	double MarginRight,
	double MarginBottom,
	bool SkipFirstPage = false,
	IEnumerable<int> PageIndexesToAddFootersTo = null
)

Parameters

Footer
Type: IronPdfSimpleHeaderFooter
An new instance of IronPdf.SimpleHeaderFooter that defines the footer content and layout.
MarginLeft
Type: SystemDouble
The left margin of the footer on the page in mm.
MarginRight
Type: SystemDouble
The right margin of the footer on the page in mm.
MarginBottom
Type: SystemDouble
The bottom margin of the footer on the page in mm.
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.

Return Value

Type: PdfDocument
Returns this PdfDocument object, allowing for a 'fluent' (LINQ like) chained in-line code style
See Also