Share via


TextLevelEffect Property

TextLevelEffect Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.  

PpTextLevelEffect

PpTextLevelEffect can be one of these PpTextLevelEffect constants.
ppAnimateByAllLevels
ppAnimateByFifthLevel
ppAnimateByFirstLevel
ppAnimateByFourthLevel
ppAnimateBySecondLevel
ppAnimateByThirdLevel
ppAnimateLevelMixed
ppAnimateLevelNone

expression.TextLevelEffect

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

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

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