|
PdfDocumentAddPage(PdfMargins) Method
|
Creates a new pdf page with the specified margins and adds it to the pdf document pages collection.
Namespace: SelectPdfAssembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntaxpublic PdfPage AddPage(
PdfMargins pageMargins
)
Public Function AddPage (
pageMargins As PdfMargins
) As PdfPage
Parameters
- pageMargins PdfMargins
- The pdf page margins.
Return Value
PdfPageThe newly created pdf page.
Remarks
If there is a previous page in the pages collection, the orientation and size are inherited from that page, otherwise a first page with
the default
A4 size and
Portrait orientation is created.
See Also