Partager via


Master.TextStyles Property (PowerPoint)

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

Master Object Members