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

AnimationSettings.TextLevelEffect Property (PowerPoint)

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

Indicates whether the text in the specified shape is animated by first-level paragraphs, second-level paragraphs, or some other level of paragraphs (up to fifth-level paragraphs). Read/write.

Syntax

expression. TextLevelEffect

expression A variable that represents a AnimationSettings object.

Return Value

PpTextLevelEffect

Remarks

For the TextLevelEffect property setting to take effect, the Animate property must be set to True.

The value of the TextLevelEffect property can be one of these PpTextLevelEffect constants.

|| |:-----| |ppAnimateByAllLevels| |ppAnimateByFifthLevel| |ppAnimateByFirstLevel| |ppAnimateByFourthLevel| |ppAnimateBySecondLevel| |ppAnimateByThirdLevel| |ppAnimateLevelMixed| |ppAnimateLevelNone|

Example

This example adds a title slide and title text to the active presentation and sets the title to be built letter by letter.

With ActivePresentation.Slides.Add(1, ppLayoutTitleOnly).Shapes(1)

    .TextFrame.TextRange.Text = "Sample title"

    With .AnimationSettings

        .Animate = True

        .TextLevelEffect = ppAnimateByFirstLevel

        .TextUnitEffect = ppAnimateByCharacter

        .EntryEffect = ppEffectFlyFromLeft

    End With

End With

See also

Concepts

AnimationSettings Object

© 2018 Microsoft