LayoutSlideCollection

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

NameTypeAccessDescription
LayoutSlideCollectionLayoutSlideCollectionReadGets the layout slide collection.
ILayoutSlideILayoutSlideReadGets the i layout slide.

Methods

SignatureDescription
LayoutSlideCollection() → LayoutSlideCollectionProvides access to the LayoutSlideCollection itself
ILayoutSlide() → ILayoutSlideReturns the layout slide at the given index.
ILayoutSlide() → ILayoutSlideProvides access to a single ILayoutSlide within the collection
ILayoutSlide() → ILayoutSlideFinds the first layout slide matching the given type, or nullptr if none.
LayoutSlideCollection()
~LayoutSlideCollection()Calls ~LayoutSlideCollection on this LayoutSlideCollection instance.
LayoutSlideCollection()
size() → std::size_tReturns 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) → ILayoutSlideFinds 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.

See Also

 English