Click or drag to resize

PdfDocumentAddForegroundOverlayPdfToPageRange Method (IEnumerableInt32, String, Int32)

Adds an overlay to a range page of this PDF. The foreground overlay 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 AddForegroundOverlayPdfToPageRange(
	IEnumerable<int> ToPageIndexes,
	string OverlayPdfPath,
	int OverlayPdfPageIndex = 0
)

Parameters

ToPageIndexes
Type: System.Collections.GenericIEnumerableInt32
A list of Indexes (zero-based page numbers) of pages in this PDF to which the overlay will be applied to.
OverlayPdfPath
Type: SystemString
The overlay PDF path.
OverlayPdfPageIndex (Optional)
Type: SystemInt32
Index (zero-based page number) to copy from the Overlay PDF.
See Also