Table of contents
TOC
Collapse the table of content
Expand the table of content

Master.TextStyles Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns a TextStyles collection that represents three text styles — title text, body text, and default text — for the specified slide master. Read-only.

Syntax

expression. TextStyles

expression A variable that represents a Master object.

Return Value

TextStyles

Remarks

For information about returning a single member of a collection, see Returning an Object from a Collection.

Example

This example sets the font name and font size for level-one body text on slides in the active presentation.

With ActivePresentation.SlideMaster_

        .TextStyles(ppBodyStyle).Levels(1)

    With .Font

        .Name = "arial"

        .Size = 36

    End With

End With

See also

Concepts

Master Object

© 2018 Microsoft