Aspose::Pdf::XImageCollection class

XImageCollection class

Class representing XImage collection.

class XImageCollection : public System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Pdf::XImage>>

Methods

MethodDescription
Add(System::SharedPtr<System::IO::Stream>)Adds entity to the end of the collection, so entity can be accessed by the last index.
Add(System::SharedPtr<Aspose::Pdf::BitmapInfo>)Adds entity to the end of the collection, so entity can be accessed by the last index.
Add(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(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(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(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() overrideClears all items from the collection.
Contains(const System::SharedPtr<Aspose::Pdf::XImage>&) const overrideDetermines whether the collection contains a specific value.
CopyTo(System::ArrayPtr<System::SharedPtr<Aspose::Pdf::XImage>>, int32_t) overrideCopies 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(System::String)Removes item from collection by name.
Delete(System::String, Aspose::Pdf::ImageDeleteAction)Removes item from collection by name.
Delete()Deletes images from collection.
get_Count() const overrideCount of images in collection.
get_IsReadOnly() const overrideGets 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() constReturns synchronization object.
GetEnumerator() overrideReturns collection enumerator.
GetImageName(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(System::String)Gets image from collection by its name.
Remove(const System::SharedPtr<Aspose::Pdf::XImage>&) overrideRemoves item from collection, throws NotImplementedException
.
Replace(int32_t, System::SharedPtr<System::IO::Stream>)Replace image in collection with another image.
Replace(int32_t, System::SharedPtr<System::IO::Stream>, int32_t, bool)Replace image in collection with another image.
Replace(int32_t, System::SharedPtr<System::IO::Stream>, int32_t)Replace image in collection with another image.

See Also