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.10.3
public PdfDocument AddForegroundOverlayPdf(
	PdfDocument OverlayPdf,
	int OverlayPdfPageIndex = 0


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
Download DLL or Install with Nuget