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: 2020.3.2.0 (2020.3.2.0)
Syntax
public PdfDocument 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.

Return Value

Type: PdfDocument
Returns this PdfDocument object, allowing for a 'fluent' (LINQ like) chained in-line code style
See Also