LayoutSlide / MasterSlide

LayoutSlide / MasterSlide — Aspose.Slides FOSS for C++ API Reference

LayoutSlide

The LayoutSlide class represents a layout slide template that defines the default arrangement of placeholders and formatting for new slides.

Namespace: Aspose::Slides::Foss

#include <Aspose/Slides/Foss/layout_slide.h>

Header: include/Aspose/Slides/Foss/layout_slide.h

Properties

PropertyAccessorDescription
layout_type()ReadReturns the SlideLayoutType (Title, TitleAndContent, Blank, etc.).
master_slide()ReadReturns the parent IMasterSlide.
shapes()ReadReturns the ShapeCollection of shapes on this layout.

MasterSlide

The MasterSlide class represents a master slide that defines the theme and default formatting for a group of layout slides.

#include <Aspose/Slides/Foss/master_slide.h>

Header: include/Aspose/Slides/Foss/master_slide.h

Properties

PropertyAccessorDescription
shapes()ReadReturns the ShapeCollection of shapes on this master.
layout_slides()ReadReturns the layout slides associated with this master.

Collections

GlobalLayoutSlideCollection

Accessed via Presentation::layout_slides(). Provides access to all layout slides across all masters.

MethodDescription
size()Number of layout slides.
operator[](size_t index)Access by index.
begin() / end()Iterator support.

IMasterSlideCollection

Accessed via Presentation::masters(). Key methods:

MethodDescription
size()Number of master slides.

See Also