PageCollectionAddNewPage Method (Margins) |
Creates a new PDF page and adds it to the collection. If there is a previous page in the
collection, the orientation and size are inherited from the that page otherwise a first page with
the default A4 size and Portrait orientation is created.
Namespace:
ExpertPdf.PdfCreator
Assembly:
epdfcreator (in epdfcreator.dll) Version: 17.0.0
Syntax public PdfPage AddNewPage(
Margins pageMargins
)
Public Function AddNewPage (
pageMargins As Margins
) As PdfPage
Parameters
- pageMargins
- Type: ExpertPdf.PdfCreatorMargins
The PDF page margins.
Return Value
Type:
PdfPageThe newly created PDF page.
See Also