Click or drag to resize

PdfDocumentAddBackgroundPdfToPageRange Method (IEnumerableInt32, String, 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,
	string BackgroundPdfPath,
	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: SystemString
The background PDF path.
BackgroundPdfPageIndex (Optional)
Type: SystemInt32
Index (zero-based page number) to copy from the BackgroundPdf.
See Also