Creates a new PDF page with the specified size, margins and orientation and adds it to the collection
Namespace: Winnovative.HtmlToPdfClient
Assembly: WnvHtmlToPdfClient (in WnvHtmlToPdfClient.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
public PdfPage AddPage( PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation, RotationAngle pageRotation )
Parameters
- pageSize
- Type: Winnovative.HtmlToPdfClientPdfPageSize
The PDF page size in points - pageMargins
- Type: Winnovative.HtmlToPdfClientPdfMargins
The PDF page margins in points - pageOrientation
- Type: Winnovative.HtmlToPdfClientPdfPageOrientation
The PDF page orientation - pageRotation
- Type: Winnovative.HtmlToPdfClientRotationAngle
The PDF page rotation
Return Value
Type: PdfPageThe newly created PDF page
See Also