Class PageCollection
Contents
[
Hide
]PageCollection class
Collection of PDF document pages.
public sealed class PageCollection : ICollection<Page>
Properties
Name | Description |
---|---|
Count { get; } | Gets count of pages in the document. |
IsReadOnly { get; } | Gets value indicating of collection is readonly. Always returns false. |
IsSynchronized { get; } | Returns true of object is synchorinzed. |
Item { get; } | Gets page by index. |
SyncRoot { get; } | Gets synchronization object of the collection. |
Methods
Name | Description |
---|---|
Accept(AnnotationSelector) | Accepts AnnotationSelector visitor object that provides functionality to work with annotations. |
Accept(ImagePlacementAbsorber) | Accepts ImagePlacementAbsorber visitor object that provides functionality to work with image placement objects. |
Accept(TextAbsorber) | Accepts TextAbsorber visitor object that provides functionality to work with text objects. |
Accept(TextFragmentAbsorber) | Accepts TextFragmentAbsorber visitor object that provides functionality to work with text objects. |
Add() | Adds an empty page. If the document already contains pages with varying sizes, the size of the most frequently occurring page will be selected. In the case there are only two different pages, the size of the first page will be used. |
Add(ICollection<Page>) | Adds to collection all pages from list. |
Add(Page) | Adds page to collection. |
Add(Page[]) | Adds to collection all pages from array. |
Clear() | Clear page collection. |
Contains(Page) | Determines whether this instance contains the object. |
CopyTo(Page[], int) | Copyies pages into document. |
Delete() | Deletes all pages from collection. |
Delete(int) | Delete specified page. |
Delete(int[]) | Delete pages specified which numbers are specified in array. |
Flatten() | Removes all fields located on the pages and place their values instead. |
FreeMemory() | Clears cached data |
GetEnumerator() | Returns enumerator of pages. |
IndexOf(Page) | Returns index of the specified page. |
Insert(int) | Insert an empty page into the collection at the specified position. If the document already contains pages with varying sizes, the size of the most frequently occurring page will be selected. In the case there are only two different pages, the size of the first page will be used. |
Insert(int, ICollection<Page>) | Inserts pages from the collection into document. |
Insert(int, Page) | Inserts page into page collection at specified place. |
Insert(int, Page[]) | Inserts pages of the array into document. |
Remove(Page) | Removes the specified item, throws NotSupportedException. |
See Also
- class Page
- namespace Aspose.Pdf
- assembly Aspose.PDF