Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mlreportgen.ppt.Presentation.getMasterNames

Package: mlreportgen.ppt

Get names of slide masters for presentation

Syntax

masters = getMasterNames(presentation)

Description

example

masters = getMasterNames(presentation) gets the names of slide masters for a presentation.

Examples

collapse all

Create a presentation.

import mlreportgen.ppt.*
slides = Presentation('myGetMastersPresentation');

Get the names of master slides in the presentation. The default PPT API template has just one slide master.

masters = getMastersNames(slides);
masters(1)
ans = 

    'Office Theme'

Input Arguments

collapse all

Presentation to get slide master names for, specified as an mlreportgen.ppt.Presentation object.

Output Arguments

collapse all

Slide masters in presentation, returned as a cell array of character vectors.

Introduced in R2015b

Was this topic helpful?