Click or drag to resize
Pdf Library for .NET

PdfPageCollectionAdd Method (PdfPage)

Adds the specified page to the pdf document pages collection.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public int Add(
	PdfPage pdfPage
)

Parameters

pdfPage
Type: SelectPdfPdfPage
The page to be added to the collection.

Return Value

Type: Int32
The index of the page in collection. If the page already exists, this method returns the index of the existing page.
Remarks
The specified page can belong to another pdf document.

Important note Important
The source pdf document must remain opened until the current document is saved.
See Also