DocumentAddPage(PageSize, Margins, PDFPageOrientation) Method |
Creates a new PDF page with the specified size, margins and orientation and adds it to the collection
Namespace: ExpertPdf.HtmlToPdf.PdfDocumentAssembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntaxpublic PdfPage AddPage(
PageSize pageSize,
Margins pageMargins,
PDFPageOrientation pageOrientation
)
Public Function AddPage (
pageSize As PageSize,
pageMargins As Margins,
pageOrientation As PDFPageOrientation
) As PdfPage
Parameters
- pageSize PageSize
- The PDF page size in points
- pageMargins Margins
- The PDF page margins in points
- pageOrientation PDFPageOrientation
- The PDF page orientation
Return Value
PdfPageThe newly created PDF page
See Also