TextStyles Property

Microsoft PowerPoint Visual Basic

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

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