LayoutSlide / MasterSlide
The LayoutSlide and MasterSlide classes represent layout and master slides in a presentation. Both extend BaseSlide.
Package: org.aspose.slides.foss
LayoutSlide
Properties
| Property | Type | Access | Description |
|---|
getMasterSlide() / setMasterSlide(IMasterSlide) | IMasterSlide | Read/Write | The master slide this layout belongs to. |
getLayoutType() | SlideLayoutType | Read | Layout type (title, blank, etc.). |
getPresentation() | IPresentation | Read | Parent presentation. |
MasterSlide
Properties
| Property | Type | Access | Description |
|---|
getLayoutSlides() | ILayoutSlideCollection | Read | Collection of layout slides for this master. |
getPresentation() | IPresentation | Read | Parent presentation. |
LayoutSlideCollection
Methods
| Method | Returns | Description |
|---|
get(int index) | ILayoutSlide | Get layout by index. |
size() | int | Number of layouts. |
getByType(SlideLayoutType type) | ILayoutSlide | Find a layout by type. |
iterator() | Iterator<ILayoutSlide> | Iterate over layouts. |
MasterSlideCollection
Methods
| Method | Returns | Description |
|---|
get(int index) | IMasterSlide | Get master by index. |
size() | int | Number of masters. |
iterator() | Iterator<IMasterSlide> | Iterate over masters. |
Usage Examples
Inspect Masters and Layouts
Get a Layout by Type
Apply a Layout to a Slide
See Also