Winnovative Excel to PDF Converter

DocumentAddPage Method (PdfPageSize, Margins, PdfPageOrientation)

Winnovative Excel to PDF Converter Documentation
Creates a new PDF page with the specified size, margins and orientation and adds it to the collection

Namespace:  Winnovative.ExcelToPdf
Assembly:  wnvexceltopdf (in wnvexceltopdf.dll) Version: 10.0.0.0
Syntax

public PdfPage AddPage(
	PdfPageSize pageSize,
	Margins pageMargins,
	PdfPageOrientation pageOrientation
)

Parameters

pageSize
Type: Winnovative.ExcelToPdfPdfPageSize
The PDF page size in points
pageMargins
Type: Winnovative.ExcelToPdfMargins
The PDF page margins in points
pageOrientation
Type: Winnovative.ExcelToPdfPdfPageOrientation
The PDF page orientation

Return Value

Type: PdfPage
The newly created PDF page
See Also

Reference