Click or drag to resize

PdfDocumentAddBackgroundPdfToPageRange Method (IEnumerableInt32, PdfDocument, Int32)

Adds the background to specified pages of this PDF. The background is copied from a page in another PDF document.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: (
public void AddBackgroundPdfToPageRange(
	IEnumerable<int> ToPageIndexes,
	PdfDocument BackgroundPdf,
	int BackgroundPdfPageIndex = 0


Type: System.Collections.GenericIEnumerableInt32
A list of Indexes (zero-based page numbers) of pages in this PDF to which the background will be applied to.
Type: IronPdfPdfDocument
The Background PDF as a PdfDocument.
BackgroundPdfPageIndex (Optional)
Type: SystemInt32
Index (zero-based page number) to copy from the BackgroundPdf.
See Also