Click or drag to resize

PdfDocumentAddForegroundOverlayPdf Method (PdfDocument, Int32)

Adds an overlay to each 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 AddForegroundOverlayPdf(
	PdfDocument OverlayPdf,
	int OverlayPdfPageIndex = 0
)

Parameters

OverlayPdf
Type: IronPdfPdfDocument
The overlay PDF as a PdfDocument.
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