Click or drag to resize

PdfDocumentAddBackgroundPdfToPageRange Method (Int32, Int32, PdfDocument, Int32)

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

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 4.4.9.15720 (4.4.9.0)
Syntax
public void AddBackgroundPdfToPageRange(
	int StartPageIndex,
	int EndPageIndex,
	PdfDocument BackgroundPdf,
	int BackgroundPdfPageIndex = 0
)

Parameters

StartPageIndex
Type: SystemInt32
First index (zero-based page number) to start adding backgrounds to .
EndPageIndex
Type: SystemInt32
Last index (zero-based page number) to end adding backgrounds to.
BackgroundPdf
Type: IronPdfPdfDocument
The Background PDF as a PdfDocument.
BackgroundPdfPageIndex (Optional)
Type: SystemInt32
Index (zero-based page number) to copy from the BackgroundPdf.
See Also