DocumentAddPage(PageSize, Margins) Method |
Creates a new PDF page and adds it to the collection. If there is a previous page in the
collection, the page orientation is inherited from the that page otherwise a first page with
the specified size and Portrait orientation is created
Namespace: ExpertPdf.HtmlToPdf.PdfDocumentAssembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntaxpublic PdfPage AddPage(
PageSize pageSize,
Margins pageMargins
)
Public Function AddPage (
pageSize As PageSize,
pageMargins As Margins
) As PdfPage
Parameters
- pageSize PageSize
- The page size in points
- pageMargins Margins
- The page mergins in points
Return Value
PdfPageThe newly created PDF page
See Also