Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection
at the specified index.
Namespace: Winnovative.HtmlToPdfClient
Assembly: WnvHtmlToPdfClient (in WnvHtmlToPdfClient.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
public PdfPage InsertPage( int index, PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation )
Parameters
- index
- Type: SystemInt32
The index where to insert the new page. - 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
Return Value
Type: PdfPageThe newly created PDF page
See Also