PageCollectionAddNewPage Method (PageSize, Margins, PageOrientation) |
Creates a new PDF page with the specified size, margins and orientation and adds it to the collection.
Namespace:
ExpertPdf.PdfCreator
Assembly:
epdfcreator (in epdfcreator.dll) Version: 17.0.0
Syntax public PdfPage AddNewPage(
PageSize pageSize,
Margins pageMargins,
PageOrientation pageOrientation
)
Public Function AddNewPage (
pageSize As PageSize,
pageMargins As Margins,
pageOrientation As PageOrientation
) As PdfPage
Parameters
- pageSize
- Type: ExpertPdf.PdfCreatorPageSize
The PDF page size in points. - pageMargins
- Type: ExpertPdf.PdfCreatorMargins
The PDF page margins in points. - pageOrientation
- Type: ExpertPdf.PdfCreatorPageOrientation
The PDF page orientation.
Return Value
Type:
PdfPageThe newly created PDF page.
See Also