Click or drag to resize
Pdf Library for .NET

PdfPageCollectionAdd(PdfPage) Method

Adds the specified page to the pdf document pages collection.

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

Parameters

pdfPage  PdfPage
The page to be added to the collection.

Return Value

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