Table of contents
TOC
折叠目录
展开目录

Slide.SlideShowTransition 属性 (PowerPoint)Slide.SlideShowTransition Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回一个SlideShowTransition对象,该对象代表指定的幻灯片切换的特殊效果。只读的。Returns a SlideShowTransition object that represents the special effects for the specified slide transition. Read-only.

语法Syntax

表达式SlideShowTransitionexpression. SlideShowTransition

表达式_代表幻灯片对象的变量。_expression A variable that represents a Slide object.

返回值Return Value

SlideShowTransitionSlideShowTransition

示例Example

以下示例设置在幻灯片放映过程中,当前演示文稿的第二张幻灯片在 5 秒后自动换片,并在幻灯片切换时播放犬吠声。This example sets slide two in the active presentation to advance automatically after 5 seconds during a slide show and to play a dog bark sound at the slide transition.

With ActivePresentation.Slides(2).SlideShowTransition
    .AdvanceOnTime = True
    .AdvanceTime = 5
    .SoundEffect.ImportFromFile "c:\windows\media\dogbark.wav"
End With

ActivePresentation.SlideShowSettings.AdvanceMode = _
    ppSlideShowUseSlideTimings

另请参阅See also

概念Concepts

Slide 对象Slide Object

© 2018 Microsoft