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: ExpertPdf.PdfCreatorAssembly: epdfcreator (in epdfcreator.dll) Version: 21.1.0
Syntaxpublic PdfPage InsertNewPage(
int index,
PageSize pageSize,
Margins pageMargins,
PageOrientation pageOrientation
)
Public Function InsertNewPage (
index As Integer,
pageSize As PageSize,
pageMargins As Margins,
pageOrientation As PageOrientation
) As PdfPage
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 PageOrientation
- The PDF page orientation.
Return Value
PdfPageThe newly created PDF page.
See Also