Adds the specified page to the document pages collection. The page to be added is allowed to be from another document. The source document of the page to be added must remain opened until the current document is saved.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public int Add(
	PdfPage pdfPage
)
Visual Basic
Public Function Add ( 
	pdfPage As PdfPage
) As Integer
Visual C++
public:
int Add(
	PdfPage^ pdfPage
)

Parameters

pdfPage
Type: EvoPdf..::..PdfPage
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

See Also