Winnovative Excel to PDF Converter

PageCollectionAddNewPage Method (PdfPageSize, Margins)

Winnovative Excel to PDF Converter 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.ExcelToPdf
Assembly:  wnvexceltopdf (in wnvexceltopdf.dll) Version: 10.0.0.0
Syntax

public PdfPage AddNewPage(
	PdfPageSize pageSize,
	Margins pageMargins
)

Parameters

pageSize
Type: Winnovative.ExcelToPdfPdfPageSize
The page size in points.
pageMargins
Type: Winnovative.ExcelToPdfMargins
The page mergins in points.

Return Value

Type: PdfPage
The newly created PDF page.
See Also

Reference