Aspose::Pdf::XImageCollection class
Contents
[
Hide
]XImageCollection class
Class representing XImage collection.
class XImageCollection : public System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Pdf::XImage>>
Methods
| Method | Description |
|---|---|
| Add(const System::SharedPtr<System::IO::Stream>&) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| Add(const System::SharedPtr<Aspose::Pdf::BitmapInfo>&) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| Add(const System::SharedPtr<System::IO::Stream>&, Aspose::Pdf::ImageFilterType) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| Add(const System::SharedPtr<Aspose::Pdf::BitmapInfo>&, Aspose::Pdf::ImageFilterType) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| Add(const System::SharedPtr<System::IO::Stream>&, int32_t) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| AddWithName(const System::SharedPtr<Aspose::Pdf::XImage>&) | Adds new image to Image list. This method adds image as reference to the same PdfObject (which allows to decrease file size) |
| Clear() override | Clears all items from the collection. |
| Contains(const System::SharedPtr<Aspose::Pdf::XImage>&) const override | Determines whether the collection contains a specific value. |
| CopyTo(System::ArrayPtr<System::SharedPtr<Aspose::Pdf::XImage>>, int32_t) override | Copies array of images into collection. |
| Delete(int32_t) | Removes index from collection by index. |
| Delete(int32_t, Aspose::Pdf::ImageDeleteAction) | Removes image from collection by index performing action specified by action parameter. |
| Delete(const System::String&) | Removes item from collection by name. |
| Delete(const System::String&, Aspose::Pdf::ImageDeleteAction) | Removes item from collection by name. |
| Delete() | Deletes images from collection. |
| get_Count() const override | Count of images in collection. |
| get_IsReadOnly() const override | Gets a value indicating whether the collection is read-only. |
| get_IsSynchronized() | Returns true if object is synchronized. |
| get_Names() | Gets array of image names. |
| get_SyncRoot() const | Returns synchronization object. |
| GetEnumerator() override | Returns collection enumerator. |
| GetImageName(const System::SharedPtr<Aspose::Pdf::XImage>&) | Returns name in images list which is key of the given image. |
| idx_get(int32_t) | Gets image from collection by its index. |
| idx_get(const System::String&) | Gets image from collection by its name. |
| Remove(const System::SharedPtr<Aspose::Pdf::XImage>&) override | Removes item from collection, throws NotImplementedException |
| . | |
| Replace(int32_t, const System::SharedPtr<System::IO::Stream>&) | Replace image in collection with another image. |
| Replace(int32_t, const System::SharedPtr<System::IO::Stream>&, int32_t, bool) | Replace image in collection with another image. |
| Replace(int32_t, const System::SharedPtr<System::IO::Stream>&, int32_t) | Replace image in collection with another image. |
See Also
- Class ICollection
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++