Skip to main content

PageList Members

A collection of Page objects.

Constructors

Name Description
PageList(Document, IList<Page>) Initializes a new instance of the PageList class with the specified settings.
PageList(Document) Initializes a new instance of the PageList class with the specified document.

Properties

Name Description
Count Counts the number of items in the collection.
First Gets the first page within the PageList collection.
Item[Int32] Gets or sets an item within the PageList collection at a specific index.
Last Gets the last page in the PageList collection.

Methods

Name Description
Add(Page) Adds the specified Page object to the collection.
AddRange(IEnumerable) Appends an array of pages to the collection.
Clear() Clears the collection.
Contains(Page) Indicates whether the collection contains the specified item.
CopyTo(Page[], Int32) Copies all Pages from this collection to a compatible target one-dimensional array, starting from the specific index of the target array.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator() Obtains the collection’s enumerator.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetPageIndexByID(Int64)
GetPagesByIndexes(IEnumerable<Int32>) For internal use.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(Page) Returns the zero-based index of the specified page in the collection.
Insert(Int32, Page) Inserts the specified page into the list at the specified position.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(Page) Removes the specified page from the collection.
RemoveAt(Int32) Removes the collection’s item at the specified position.
ToArray() Copies the elements of the PageList to a new array of Page objects.
ToString() Returns a string that represents the current object. Inherited from Object.
TryGetPageByID(Int64, out Page)
TryGetPageByIndex(Int32, out Page) Tries to get a page by the specified index.
See Also