
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.
Introduced: 14.0.
[C#]
public sealed class PageCollection: ICollection, IEnumerable
[Visual Basic]
Public NotInheritable Class PageCollection
Implements ICollection
Implements IEnumerable
| Property | Description | |
| Count | Gets the number of elements contained in the collection. |
| 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 the Page with the current text input position from the collection. | |
| Item | Gets a page from the collection. |