Aspose::Pdf::PageCollection class
Contents
[
Hide
]PageCollection class
Collection of PDF document pages.
class PageCollection : public System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Pdf::Page>>,
public Aspose::Pdf::ISupportsMemoryCleanup
Methods
Method | Description |
---|---|
Accept(System::SharedPtr<Annotations::AnnotationSelector>) | Accepts AnnotationSelector visitor object that provides functionality to work with annotations. |
Accept(System::SharedPtr<ImagePlacementAbsorber>) | Accepts ImagePlacementAbsorber visitor object that provides functionality to work with image placement objects. |
Accept(System::SharedPtr<Text::TextFragmentAbsorber>) | Accepts TextFragmentAbsorber visitor object that provides functionality to work with text objects. |
Accept(System::SharedPtr<Text::TextAbsorber>) | Accepts TextAbsorber 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(const System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Page>>>&) | Adds to collection all pages from list. |
Add(const System::ArrayPtr<System::SharedPtr<Page>>&) | Adds to collection all pages from array. |
Clear() override | Clear page collection. |
Contains(const System::SharedPtr<Page>&) const override | Determines whether this instance contains the object. |
CopyPage(System::SharedPtr<Page>) | Adds page to collection. |
CopyTo(System::ArrayPtr<System::SharedPtr<Page>>, int32_t) override | Copyies pages into document. |
Delete(int32_t) | Delete specified page. |
Delete() | Deletes all pages from collection. |
Delete(System::ArrayPtr<int32_t>) | Delete pages specified which numbers are specified in array. |
Flatten() | Removes all fields located on the pages and place their values instead. |
FreeMemory() override | Clears cached data. |
get_Count() const override | Gets count of pages in the document. |
get_IsReadOnly() const override | Gets value indicating of collection is readonly. Always returns false. |
get_IsSynchronized() | Returns true of object is synchorinzed. |
get_SyncRoot() const | Gets synchronization object of the collection. |
GetEnumerator() override | Returns enumerator of pages. |
idx_get(int32_t) | Gets page by index. |
IndexOf(System::SharedPtr<Page>) const | Returns index of the specified page. |
Insert(int32_t) | 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(int32_t, System::SharedPtr<Page>) | Inserts page into page collection at specified place. |
Insert(int32_t, System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Page>>>) | Inserts pages from the collection into document. |
Insert(int32_t, System::ArrayPtr<System::SharedPtr<Page>>) | Inserts pages of the array into document. |
Remove(const System::SharedPtr<Page>&) override | Removes the specified item, throws NotSupportedException |
. |
See Also
- Class ICollection
- Class ISupportsMemoryCleanup
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++