PageCollectionInsertNewPage Method
Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection
at the specified index
Namespace: Winnovative.ExcelToPdfAssembly: WnvExcelToPdf_NetCore (in WnvExcelToPdf_NetCore.dll) Version: 12.0.0
public PdfPage InsertNewPage(
int index,
PdfPageSize pageSize,
Margins pageMargins,
PdfPageOrientation pageOrientation
)
Public Function InsertNewPage (
index As Integer,
pageSize As PdfPageSize,
pageMargins As Margins,
pageOrientation As PdfPageOrientation
) As PdfPage
public:
PdfPage^ InsertNewPage(
int index,
PdfPageSize^ pageSize,
Margins^ pageMargins,
PdfPageOrientation pageOrientation
)
member InsertNewPage :
index : int *
pageSize : PdfPageSize *
pageMargins : Margins *
pageOrientation : PdfPageOrientation -> PdfPage
- index Int32
- The index where to insert the new page.
- pageSize PdfPageSize
- The PDF page size in points.
- pageMargins Margins
- The PDF page margins in points.
- pageOrientation PdfPageOrientation
- The PDF page orientation.
PdfPageThe newly created PDF page.