An instance of the PageCollection class contains all pages of a document. A document has at least one page. An instance of this class can be obtained with the TextControl.GetPages method. The PageCollection class implements the IEnumerable and the ICollection interfaces.

Syntax

public sealed class PageCollection: ICollection, IEnumerable
Public NotInheritable Class PageCollection
  Implements ICollection
  Implements IEnumerable

Introduced: 14.0.

Methods

Method Description
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
GetItem Gets a particular page from the collection.

Properties

Property Description
Count Gets the number of elements contained in the collection.
Item Gets a page from the collection.