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:
ExpertPdf.HtmlToPdf.PdfDocument
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public int Add(
PdfPage pdfPage
)
Public Function Add (
pdfPage As PdfPage
) As Integer
Parameters
- pdfPage
- Type: ExpertPdf.HtmlToPdf.PdfDocumentPdfPage
The page to be added to the collection.
Return Value
Type:
Int32The index of the page in collection. If the page already exists,
this method returns the index of the existing page
See Also