Winnovative HTML to PDF Converter

DocumentAddPage Method (PdfPageSize, Margins)

Winnovative 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:  Winnovative
Assembly:  wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax

public PdfPage AddPage(
	PdfPageSize pageSize,
	Margins pageMargins
)

Parameters

pageSize
Type: WinnovativePdfPageSize
The page size in points
pageMargins
Type: WinnovativeMargins
The page margins in points

Return Value

Type: PdfPage
The newly created PDF page
See Also

Reference