Download MATLAB Report Generator User's Guide

Transcript
Add Slides
pictureSlide = add(slides,'Title and Picture',2);
Specify the Slide Master
A template can have multiple slide masters. Two or more slide masters can have a child
slide layout with the same name. By default, when you specify the slide layout using PPT
API, the API uses the first slide layout that has the name you specify. If you specify a
slide master in an add method, specify the slide master argument immediately after the
slide layout argument. For example, this code uses the Title Slide slide layout that is
a child of the myCustomMaster slide master.
slides = Presentation('myPresentation');
titleSlide = add(slides,'Title Slide',myCustomMaster);
See Also
Functions
mlreportgen.ppt.Presentation.add | mlreportgen.ppt.Presentation.getLayoutNames |
mlreportgen.ppt.Presentation.getMasterNames
Related Examples
•
“Create a Presentation Object to Hold Content” on page 14-14
•
“Add and Replace Presentation Content” on page 14-76
14-75