Share via


EffectInformation.BuildByLevelEffect Property

Determines the level of the animation build effect. Read-only.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
ReadOnly Property BuildByLevelEffect As MsoAnimateByLevel
    Get
'Usage
Dim instance As EffectInformation
Dim value As MsoAnimateByLevel

value = instance.BuildByLevelEffect
MsoAnimateByLevel BuildByLevelEffect { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.MsoAnimateByLevel
MsoAnimateByLevel

Remarks

The value returned by the BuildByLevelEffect property can be one of these MsoAnimateByLevel constants.

msoAnimateChartAllAtOnce

msoAnimateChartByCategory

msoAnimateChartByCategoryElements

msoAnimateChartBySeries

msoAnimateChartBySeriesElements

msoAnimateDiagramAllAtOnce

msoAnimateDiagramBreadthByLevel

msoAnimateDiagramBreadthByNode

msoAnimateDiagramClockwise

msoAnimateDiagramClockwiseIn

msoAnimateDiagramClockwiseOut

msoAnimateDiagramCounterClockwise

msoAnimateDiagramCounterClockwiseIn

msoAnimateDiagramCounterClockwiseOut

msoAnimateDiagramDepthByBranch

msoAnimateDiagramDepthByNode

msoAnimateDiagramDown

msoAnimateDiagramInByRing

msoAnimateDiagramOutByRing

msoAnimateDiagramUp

msoAnimateLevelMixed

msoAnimateTextByAllLevels

msoAnimateTextByFifthLevel

msoAnimateTextByFirstLevel

msoAnimateTextByFourthLevel

msoAnimateTextBySecondLevel

msoAnimateTextByThirdLevel

msoAnimationLevelNone

Examples

The following example returns a build-by-level effect.

Sub QueryBuildByLevelEffect()



    Dim effMain As Effect



    Set effMain = ActivePresentation.Slides(1).TimeLine _

        .MainSequence(1)



    If effMain.EffectInformation.BuildByLevelEffect<> msoAnimateLevelNone Then

        ActivePresentation.Slides(1).TimeLine.MainSequence _

            .ConvertToTextUnitEffect Effect:=effMain, _

            UnitEffect:=msoAnimTextUnitEffectByWord

    End If



End Sub

See Also

Reference

EffectInformation Interface

EffectInformation Members

Microsoft.Office.Interop.PowerPoint Namespace