EVO HTML to PDF Converter

DocumentAddPage Method (PdfPageSize, Margins)

EVO HTML to PDF Converter 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
Assembly:  evohtmltopdf (in evohtmltopdf.dll) Version: 10.0.0.0
Syntax

public PdfPage AddPage(
	PdfPageSize pageSize,
	Margins pageMargins
)

Parameters

pageSize
Type: EvoPdfPdfPageSize
The page size in points
pageMargins
Type: EvoPdfMargins
The page margins in points

Return Value

Type: PdfPage
The newly created PDF page
See Also

Reference