|
PdfPageCollectionInsert(Int32, PdfCustomPageSize, PdfMargins, PdfPageOrientation) Method
|
Creates a new pdf page with the specified size, margins and orientation and inserts it into the pdf document pages collection
at the specified index.
Namespace: SelectPdfAssembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntaxpublic PdfPage Insert(
int index,
PdfCustomPageSize pageSize,
PdfMargins pageMargins,
PdfPageOrientation pageOrientation
)
Public Function Insert (
index As Integer,
pageSize As PdfCustomPageSize,
pageMargins As PdfMargins,
pageOrientation As PdfPageOrientation
) As PdfPage
Parameters
- index Int32
- The index where the new pdf page will be inserted.
- pageSize PdfCustomPageSize
- The pdf page size.
- pageMargins PdfMargins
- The pdf page margins.
- pageOrientation PdfPageOrientation
- The pdf page orientation.
Return Value
PdfPageThe newly created pdf page.
See Also