EVO HTML to PDF Converter

DocumentAddPage Method (PdfPageSize, PdfMargins)

EVO PDF Client for .NET Documentation
Creates a new PDF page and adds it to the collection. If there is a previous page in the collection, the page orientation is inherited from the that page otherwise a first page with the specified size and Portrait orientation is created

Namespace:  EvoPdf.HtmlToPdfClient
Assembly:  EvoHtmlToPdfClient (in EvoHtmlToPdfClient.dll) Version: 9.0.0.0 (9.0.0.0)
Syntax

public PdfPage AddPage(
	PdfPageSize pageSize,
	PdfMargins pageMargins
)

Parameters

pageSize
Type: EvoPdf.HtmlToPdfClientPdfPageSize
The page size in points
pageMargins
Type: EvoPdf.HtmlToPdfClientPdfMargins
The page margins in points

Return Value

Type: PdfPage
The newly created PDF page
See Also

Reference