PDFKit.NET 5.0 PDFKit.NET 5.0

Namespace TallComponents.PDF

Class PageCollection

Collection of pages inside a PDF document. Non-creatable. Obtained through the Pages property of Document.

Syntax

public class PageCollection : Object , IEnumerable<Page> , IEnumerable

Properties


Number of pages.

Retrieve a page by 0-based index.

Methods


Add a new or existing page to end of this collection.

Adds the entries in an array of Pages to the end of the PageCollection.

Removes all pages from the PageCollection.

Clones this PageCollection with default clone settings.

Clones this PageCollection with the default clone settings but prefix the field fullNames.

Clones this PageCollection with the specified clone settings.

Clones this PageCollection with the specified clone settings and prefix the field fullNames.

Determine whether an Page is in the PageCollection.

Implements strong typed IEnumerable<T>.GetEnumerator.

Returns the zero-based index of the given page.

Insert a new or existing page in this collection at the given index.

Insert the entries in an array of Pages to the specific locations in the PageCollection.

Moves an existing page to an other position.

Removes a page from the collection.

Removes a page from the collection.

Removes multiple contiguous pages from the collection.

Removes multiple pages from the collection.