Creates a new PDF page with the specified size, margins and orientation and adds it to the collection
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public PdfPage AddPage( PdfPageSize pageSize, Margins pageMargins, PdfPageOrientation pageOrientation ) |
| Visual Basic |
|---|
Public Function AddPage ( pageSize As PdfPageSize, pageMargins As Margins, pageOrientation As PdfPageOrientation ) As PdfPage |
| Visual C++ |
|---|
public: PdfPage^ AddPage( PdfPageSize^ pageSize, Margins^ pageMargins, PdfPageOrientation pageOrientation ) |
Parameters
- pageSize
- Type: EvoPdf..::..PdfPageSize
The PDF page size in points
- pageMargins
- Type: EvoPdf..::..Margins
The PDF page margins in points
- pageOrientation
- Type: EvoPdf..::..PdfPageOrientation
The PDF page orientation
Return Value
Type: PdfPageThe newly created PDF page