LayoutSlideCollection
Overview
LayoutSlideCollection is a class in Aspose.Slides FOSS for C++.
Manages a collection of layout slides belonging to a master slide.
This class declares 12 methods for LayoutSlideCollection objects in C++ programs.
Available methods include: ILayoutSlide, LayoutSlideCollection, add, as_i_collection, as_i_enumerable, get_by_type, size, ~LayoutSlideCollection.
Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Accessor methods: ILayoutSlide, LayoutSlideCollection.
Accessor Methods
| Name | Type | Access | Description |
|---|---|---|---|
LayoutSlideCollection | LayoutSlideCollection | Read | Gets the layout slide collection. |
ILayoutSlide | ILayoutSlide | Read | Gets the i layout slide. |
Methods
| Signature | Description |
|---|---|
LayoutSlideCollection() → LayoutSlideCollection | Provides access to the LayoutSlideCollection itself |
ILayoutSlide() → ILayoutSlide | Returns the layout slide at the given index. |
ILayoutSlide() → ILayoutSlide | Provides access to a single ILayoutSlide within the collection |
ILayoutSlide() → ILayoutSlide | Finds the first layout slide matching the given type, or nullptr if none. |
LayoutSlideCollection() | |
~LayoutSlideCollection() | Calls ~LayoutSlideCollection on this LayoutSlideCollection instance. |
LayoutSlideCollection() | |
size() → std::size_t | Returns the number of layout slides. |
as_i_collection() → std::vector<ILayoutSlide*> | Returns a non-owning snapshot of all layout slides as a vector. |
as_i_enumerable() → std::vector<const ILayoutSlide*> | Returns a non-owning snapshot of all layout slides (const) as a vector. |
get_by_type(type: SlideLayoutType) → ILayoutSlide | Finds the first layout slide matching the given type, or nullptr if none. |
add(slide: std::unique_ptr<ILayoutSlide>) | Adds a layout slide to the collection. Takes ownership. |