TXTextControl.PageCollection Class

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.

Syntax

[C#]
public sealed class PageCollection: ICollection, IEnumerable
[Visual Basic]
Public NotInheritable Class PageCollection
  Implements ICollection
  Implements IEnumerable

Properties

Property Description
Count Gets the number of elements contained in the collection.

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 Overloaded. Gets a particular page from the collection.
Item Gets a page from the collection.

See Also