ExpertPdf Html to Pdf Converter Library
InsertNewPage Method (index, pageSize, pageMargins, pageOrientation)
NamespacesExpertPdf.HtmlToPdf.PdfDocumentPageCollectionInsertNewPage(Int32, PageSize, Margins, PDFPageOrientation)
ExpertPdf Html to Pdf Converter Library
Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection at the specified index
Declaration Syntax
C#Visual BasicVisual C++
public PdfPage InsertNewPage(
	int index,
	PageSize pageSize,
	Margins pageMargins,
	PDFPageOrientation pageOrientation
)
Public Function InsertNewPage ( 
	index As Integer,
	pageSize As PageSize,
	pageMargins As Margins,
	pageOrientation As PDFPageOrientation
) As PdfPage
public:
PdfPage^ InsertNewPage(
	int index, 
	PageSize^ pageSize, 
	Margins^ pageMargins, 
	PDFPageOrientation pageOrientation
)
Parameters
index (Int32)
The index where to insert the new page.
pageSize (PageSize)
The PDF page size in points.
pageMargins (Margins)
The PDF page margins in points.
pageOrientation (PDFPageOrientation)
The PDF page orientation.
Return Value
PdfPage
The newly created PDF page.

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)