Click or drag to resize

PdfDocumentAddForegroundOverlayPdfToPageRange Method (Int32, Int32, 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(
	int StartPageIndex,
	int EndPageIndex,
	string OverlayPdfPath,
	int OverlayPdfPageIndex = 0
)

Parameters

StartPageIndex
Type: SystemInt32
First index (zero-based page number) to start adding overlays to .
EndPageIndex
Type: SystemInt32
Last index (zero-based page number) to end adding overlays 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