Skip to content

PdfPageCollection.Add Method

Overloads

Name Description
Add() Adds a new page at the end of the collection.
Add(PdfPageSize) Adds a new page with the specified size at the end of the collection.
Add(PdfPage)
(inherited from Collection`1)

Add()

Adds a new page at the end of the collection.

C#
public PdfPage Add()

Add(PdfPageSize)

Adds a new page with the specified size at the end of the collection.

C#
public PdfPage Add(PdfPageSize pageSize)

Parameters

pageSize PdfPageSize

The size of the newly created page.