|
PdfDocumentAddPage Method (PdfCustomPageSize, PdfMargins, PdfPageOrientation) |
Creates a new pdf page with the specified size, margins and orientation and adds it to the pdf document pages collection.
Namespace:
SelectPdf
Assembly:
Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax public PdfPage AddPage(
PdfCustomPageSize pageSize,
PdfMargins pageMargins,
PdfPageOrientation pageOrientation
)
Public Function AddPage (
pageSize As PdfCustomPageSize,
pageMargins As PdfMargins,
pageOrientation As PdfPageOrientation
) As PdfPage
Parameters
- pageSize
- Type: SelectPdfPdfCustomPageSize
The pdf page size. - pageMargins
- Type: SelectPdfPdfMargins
The pdf page margins. - pageOrientation
- Type: SelectPdfPdfPageOrientation
The pdf page orientation.
Return Value
Type:
PdfPageThe newly created pdf page.
See Also