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: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public PdfPage AddNewPage( Margins pageMargins ) |
| Visual Basic |
|---|
Public Function AddNewPage ( pageMargins As Margins ) As PdfPage |
| Visual C++ |
|---|
public: PdfPage^ AddNewPage( Margins^ pageMargins ) |
Parameters
- pageMargins
- Type: EvoPdf..::..Margins
The PDF page margins.
Return Value
Type: PdfPageThe newly created PDF page.