Class TextStyleLevel (PowerPoint VBA)

Contains character and paragraph formatting information for an outline level. To use a TextStyleLevel class variable it first needs to be instantiated, for example


Dim tsl as TextStyleLevel
Set tsl = ActivePresentation.SlideMaster.TextStyles(1).Levels(Level:=1)

Font

Returns a Font object that represents character formatting.


Dim fntFont As Font
Set fntFont = ActiveWindow.Selection.SlideRange(1).TextStyles(1).Levels(1).Font

ParagraphFormat

Returns a ParagraphFormat object that represents paragraph formatting for the specified text.


Dim pftParagraphFormat As ParagraphFormat
Set pftParagraphFormat = ActiveWindow.Selection.SlideRange(1).TextStyles(1).Levels(1).ParagraphFormat