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 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

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

Methods

SignatureDescription
LayoutSlideCollection()LayoutSlideCollectionProvides access to the LayoutSlideCollection itself
ILayoutSlide()ILayoutSlideProvides access to a single ILayoutSlide within the collection
ILayoutSlide()ILayoutSlide
ILayoutSlide()ILayoutSlide
LayoutSlideCollection()
~LayoutSlideCollection()
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