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: (
public void AddForegroundOverlayPdfToPageRange(
	IEnumerable<int> ToPageIndexes,
	string OverlayPdfPath,
	int OverlayPdfPageIndex = 0


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.
Type: SystemString
The overlay PDF path.
OverlayPdfPageIndex (Optional)
Type: SystemInt32
Index (zero-based page number) to copy from the Overlay PDF.
See Also