Imports a page.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfPageBase InsertPage(
	PdfDocument doc,
	int pageIndex
)
Public Function InsertPage ( 
	doc As PdfDocument,
	pageIndex As Integer
) As PdfPageBase
public:
PdfPageBase^ InsertPage(
	PdfDocument^ doc, 
	int pageIndex
)
member InsertPage : 
        doc : PdfDocument * 
        pageIndex : int -> PdfPageBase 

Parameters

doc
PdfDocument
pageIndex
Int32
Index of the page.

Return Value

PdfPageBase
The page in the target document.

See Also