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
| Property | Accessor | Description |
|---|---|---|
layout_type() | Read | Returns the SlideLayoutType (Title, TitleAndContent, Blank, etc.). |
master_slide() | Read | Returns the parent IMasterSlide. |
shapes() | Read | Returns 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
| Property | Accessor | Description |
|---|---|---|
shapes() | Read | Returns the ShapeCollection of shapes on this master. |
layout_slides() | Read | Returns the layout slides associated with this master. |
Collections
GlobalLayoutSlideCollection
Accessed via Presentation::layout_slides(). Provides access to all layout slides across all masters.
| Method | Description |
|---|---|
size() | Number of layout slides. |
operator[](size_t index) | Access by index. |
begin() / end() | Iterator support. |
IMasterSlideCollection
Accessed via Presentation::masters(). Key methods:
| Method | Description |
|---|---|
size() | Number of master slides. |