PdfEditorAddPage(PdfPageSize, PdfPageOrientation) Method

Adds a new blank page of the given size at the end of the document

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
C#
public int AddPage(
	PdfPageSize pageSize,
	PdfPageOrientation pageOrientation = PdfPageOrientation.Portrait
)

Parameters

pageSize  PdfPageSize
The size of the new page
pageOrientation  PdfPageOrientation  (Optional)
The orientation of the new page

Return Value

Int32
The 1-based number of the newly added page

See Also