Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection
at the specified index.
Namespace: EvoPdf.HtmlToPdfClient
Assembly: EvoHtmlToPdfClient (in EvoHtmlToPdfClient.dll) Version: 9.0.0.0 (9.0.0.0)
Syntax
public PdfPage InsertPage( int index, PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation, RotationAngle pageRotation )
Parameters
- index
- Type: SystemInt32
The index where to insert the new page. - pageSize
- Type: EvoPdf.HtmlToPdfClientPdfPageSize
The PDF page size in points - pageMargins
- Type: EvoPdf.HtmlToPdfClientPdfMargins
The PDF page margins in points - pageOrientation
- Type: EvoPdf.HtmlToPdfClientPdfPageOrientation
The PDF page orientation - pageRotation
- Type: EvoPdf.HtmlToPdfClientRotationAngle
The PDF page rotation
Return Value
Type: PdfPageThe newly created PDF page
See Also