AnimationSettings.TextLevelEffect Property
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.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property TextLevelEffect As PpTextLevelEffect
Get
Set
'Usage
Dim instance As AnimationSettings
Dim value As PpTextLevelEffect
value = instance.TextLevelEffect
instance.TextLevelEffect = value
PpTextLevelEffect TextLevelEffect { get; set; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.PpTextLevelEffect
PpTextLevelEffect
Remarks
For the TextLevelEffect property setting to take effect, the AnimateAction 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 |
Examples
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