ImageCollection
Overview
ImageCollection is a class in Aspose.Slides FOSS for C++.
Manages the collection of images in a presentation.
This class provides 9 methods for working with ImageCollection objects in C++ programs.
Available methods include: ImageCollection, add_image, begin, end, size.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: ImageCollection.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ImageCollection | ImageCollection | Read | Gets the image collection. |
Methods
| Signature | Description |
|---|---|
ImageCollection() → ImageCollection | Constructs a new empty image collection |
ImageCollection() | |
ImageCollection() | |
size() → std::size_t | Returns the number of images in the collection. |
add_image(data: std::span<const std::uint8_t>) → PPImage | Adds an image from raw bytes. Deduplicates by content. |
begin() → iterator | Returns an iterator to the first image in the collection |
end() → iterator | Returns an iterator past the last image in the collection |
begin() → const_iterator | |
end() → const_iterator |