Creates a new PDF page with the specified size, margins and orientation and adds it to the collection.
Namespace: EvoExcelToPdf
Assembly: evoexceltopdf (in evoexceltopdf.dll) Version: 10.0.0.0
Syntax
public PdfPage AddNewPage( PdfPageSize pageSize, Margins pageMargins, PdfPageOrientation pageOrientation )
Parameters
- pageSize
- Type: EvoExcelToPdfPdfPageSize
The PDF page size in points. - pageMargins
- Type: EvoExcelToPdfMargins
The PDF page margins in points. - pageOrientation
- Type: EvoExcelToPdfPdfPageOrientation
The PDF page orientation.
Return Value
Type: PdfPageThe newly created PDF page.
See Also