PageCollection Class

Collection of PDF document pages.
Inheritance Hierarchy

Namespace:  Aspose.Pdf
Assembly:  Aspose.PDF (in Aspose.PDF.dll) Version: 22.1.0
public sealed class PageCollection : ICollection<Page>, 
	IEnumerable<Page>, IEnumerable

The PageCollection type exposes the following members.

Public propertyCount
Gets count of pages in the document.
Public propertyIsReadOnly
Gets value indicating of collection is readonly. Always returns false.
Public propertyIsSynchronized
Returns true of object is synchorinzed.
Public propertyItem
Gets page by index.
Public propertySyncRoot
Gets synchronization object of the collection.
Public methodAccept(AnnotationSelector)
Accepts AnnotationSelector visitor object that provides functionality to work with annotations.
Public methodAccept(ImagePlacementAbsorber)
Accepts ImagePlacementAbsorber visitor object that provides functionality to work with image placement objects.
Public methodAccept(TextAbsorber)
Accepts TextAbsorber visitor object that provides functionality to work with text objects.
Public methodAccept(TextFragmentAbsorber)
Accepts TextFragmentAbsorber visitor object that provides functionality to work with text objects.
Public methodAdd
Adds empty page
Public methodAdd(ICollectionPage)
Adds to collection all pages from list.
Public methodAdd(Page)
Adds page to collection.
Public methodAdd(Page)
Adds to collection all pages from array.
Public methodClear
Clear page collection.
Public methodContains
Determines whether this instance contains the object.
Public methodCopyTo
Copyies pages into document.
Public methodDelete
Deletes all pages from collection.
Public methodDelete(Int32)
Delete specified page.
Public methodDelete(Int32)
Delete pages specified which numbers are specified in array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFlatten
Removes all fields located on the pages and place their values instead.
Public methodFreeMemory
Clears cached data
Public methodGetEnumerator
Returns enumerator of pages.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns index of the specified page.
Public methodInsert(Int32)
Insert empty apge into collection at the specified position.
Public methodInsert(Int32, Page)
Inserts page into page collection at specified place.
Public methodInsert(Int32, Page)
Inserts pages of the array into document.
Public methodInsert(Int32, ICollectionPage)
Inserts pages from the collection into document.
Public methodRemove
Removes the specified item, throws NotSupportedException.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also