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 provides 12 methods for working with LayoutSlideCollection objects in C++ programs.
Available methods include: ILayoutSlide, LayoutSlideCollection, add, as_i_collection, as_i_enumerable, get_by_type, size, ~LayoutSlideCollection.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: ILayoutSlide, LayoutSlideCollection.
Properties
| 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 | Provides access to a single ILayoutSlide within the collection |
ILayoutSlide() → ILayoutSlide | |
ILayoutSlide() → ILayoutSlide | |
LayoutSlideCollection() | |
~LayoutSlideCollection() | |
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. |