PageCollection Class
Collection of PDF document pages.
Inheritance Hierarchy
SystemObject
  Aspose.PdfPageCollection

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

The PageCollection type exposes the following members.

Properties
  NameDescription
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.
Methods
  NameDescription
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(Page)
Adds page to collection.
Public methodAdd(Page)
Adds to collection all pages from array.
Public methodAdd(ICollectionPage)
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 (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 (Inherited from Object.)
Public methodGetType (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)
Public methodRemove
Removes the specified item.
Public methodToString (Inherited from Object.)
See Also