Table of Contents

Class PdfPages

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents the root of the page tree of the document.

public sealed class PdfPages : PdfPageTreeNode
Inheritance
object
PdfPages
Inherited Members
Extension Methods

Properties

Count

Gets the number of pages.

this[int]

Gets the page with the specified index.

PagesArray

Gets a PdfArray containing all pages of this document. The array must not be modified.

Methods

Add()

Creates a new PdfPage, adds it to the end of this document, and returns it.

Add(PdfPage)

Adds the specified PdfPage to the end of this document and maybe returns a new PdfPage object. The value returned is a new object if the added page comes from a foreign document.

GetEnumerator()

Gets the enumerator.

Insert(int)

Creates a new PdfPage, inserts it at the specified position into this document, and returns it.

Insert(int, PdfPage)

Inserts the specified PdfPage at the specified position to this document and maybe returns a new PdfPage object. The value returned is a new object if the inserted page comes from a foreign document.

InsertRange(int, PdfDocument)

Inserts all pages of the specified document into this document.

InsertRange(int, PdfDocument, int)

Inserts all pages of the specified document into this document.

InsertRange(int, PdfDocument, int, int)

Inserts pages of the specified document into this document.

MovePage(int, int)

Moves a page within the page sequence.

Remove(PdfPage)

Removes the specified page from the document.

RemoveAt(int)

Removes the specified page from the document.