Click or drag to resize

Document.AddPage Method (PageSize, Margins, PageOrientation)

Creates a new PDF page with the specified size, margins and orientation and adds it to the collection.

Namespace:  ExpertPdf.PdfCreator
Assembly:  epdfcreator (in epdfcreator.dll) Version: 17.0.0
Syntax
public PdfPage AddPage(
	PageSize pageSize,
	Margins pageMargins,
	PageOrientation pageOrientation
)

Parameters

pageSize
Type: ExpertPdf.PdfCreator.PageSize
The PDF page size in points
pageMargins
Type: ExpertPdf.PdfCreator.Margins
The PDF page margins in points
pageOrientation
Type: ExpertPdf.PdfCreator.PageOrientation
The PDF page orientation

Return Value

Type: PdfPage
The newly created PDF page
See Also