PowerPoint VBA教程:EntryEffect属性

对于 AnimationSettings对象,此项属性返回或设置应用于指定形状中动画的特殊效果。对于 SlideShowTransition对象,此项属性返回或设置应用于指定幻灯片切换的特殊效果。可读写。PpEntryEffect 类型。

PpEntryEffect 可以是下列 PpEntryEffect 类型常数之一。
ppEffectAppear
ppEffectBlindsHorizontal
ppEffectBlindsVertical
ppEffectBoxIn
ppEffectBoxOut
ppEffectCheckerboardAcross
ppEffectCheckerboardDown
ppEffectCoverDown
ppEffectCoverLeft
ppEffectCoverLeftDown
ppEffectCoverLeftUp
ppEffectCoverRight
ppEffectCoverRightDown
ppEffectCoverRightUp
ppEffectCoverUp
ppEffectCrawlFromDown
ppEffectCrawlFromLeft
ppEffectCrawlFromRight
ppEffectCrawlFromUp
ppEffectCut
ppEffectCutThroughBlack
ppEffectDissolve
ppEffectFade
ppEffectFlashOnceFast
ppEffectFlashOnceMedium
ppEffectFlashOnceSlow
ppEffectFlyFromBottom
ppEffectFlyFromBottomLeft
ppEffectFlyFromBottomRight
ppEffectFlyFromLeft
ppEffectFlyFromRight
ppEffectFlyFromTop
ppEffectFlyFromTopLeft
ppEffectFlyFromTopRight
ppEffectMixed
ppEffectNone
ppEffectPeekFromDown
ppEffectPeekFromLeft
ppEffectPeekFromRight
ppEffectPeekFromUp
ppEffectRandom
ppEffectRandomBarsHorizontal
ppEffectRandomBarsVertical
ppEffectSpiral
ppEffectSplitHorizontalIn
ppEffectSplitHorizontalOut
ppEffectSplitVerticalIn
ppEffectSplitVerticalOut
ppEffectStretchAcross
ppEffectStretchDown
ppEffectStretchLeft
ppEffectStretchRight
ppEffectStretchUp
ppEffectStripsDownLeft
ppEffectStripsDownRight
ppEffectStripsLeftDown
ppEffectStripsLeftUp
ppEffectStripsRightDown
ppEffectStripsRightUp
ppEffectStripsUpLeft
ppEffectStripsUpRight
ppEffectSwivel
ppEffectUncoverDown
ppEffectUncoverLeft
ppEffectUncoverLeftDown
ppEffectUncoverLeftUp
ppEffectUncoverRight
ppEffectUncoverRightDown
ppEffectUncoverRightUp
ppEffectUncoverUp
ppEffectWipeDown
ppEffectWipeLeft
ppEffectWipeRight
ppEffectWipeUp
ppEffectZoomBottom
ppEffectZoomCenter
ppEffectZoomIn
ppEffectZoomInSlightly
ppEffectZoomOut
ppEffectZoomOutSlightly

expression.EntryEffect

expression  必选。该表达式返回“应用于”列表中的对象之一。

说明

如果将指定形状的TextLevelEffect属性设为 ppAnimateLevelNone(默认值)或将Animate属性设为 False,将看不到通过 EntryEffect属性应用的特殊效果。

VBA示例

本示例在当前演示文稿中添加一张标题幻灯片,并设置该标题在幻灯片放映中动画时从右侧飞入。


With ActivePresentation.Slides.Add(1, ppLayoutTitleOnly).Shapes(1)
        .TextFrame.TextRange.Text = "Sample title"
    With .AnimationSettings
        .TextLevelEffect = ppAnimateByAllLevels
        .EntryEffect = ppEffectFlyFromRight
        .Animate = True
    End With
End With

上页:PowerPoint VBA教程:EndingSlide属性 下页:PowerPoint VBA教程:EnvelopeVisible属性

PowerPoint VBA教程:EntryEffect属性

PowerPoint VBA教程:EnvelopeVisible属性 PowerPoint VBA教程:Exit属性
PowerPoint VBA教程:ExtraColors属性 PowerPoint VBA教程:ExtrusionColor属性
PowerPoint VBA教程:ExtrusionColorType属性 PowerPoint VBA教程:FarEastLineBreakControl属性
PowerPoint VBA教程:FarEastLineBreakLanguage属性 PowerPoint VBA教程:FarEastLineBreakLevel属性
PowerPoint VBA教程:FeatureInstall属性 PowerPoint VBA教程:FileDialog属性
PowerPoint VBA教程:FileName属性 PowerPoint VBA教程:FileSearch属性
PowerPoint VBA教程:Fill属性 PowerPoint VBA教程:FirstChild属性
PowerPoint VBA教程:FirstMargin属性 PowerPoint VBA教程:FirstSlideNumber属性
PowerPoint VBA教程:FitToPage属性 PowerPoint VBA教程:FolderSuffix属性
PowerPoint VBA教程:FollowColors属性 PowerPoint VBA教程:FollowMasterBackground属性
版权所有 © 中山市飞娥软件工作室 证书:粤ICP备09170368号