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

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

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

决定指定的幻灯片在经过指定时间后是否自动切换。可读/写。Determines whether the specified slide advances automatically after a specified amount of time has elapsed. Read/write.

语法Syntax

表达式AdvanceOnTimeexpression. AdvanceOnTime

表达式_一个表示SlideShowTransition对象的变量。_expression A variable that represents an SlideShowTransition object.

返回值Return Value

MsoTriStateMsoTriState

注解Remarks

使用AdvanceTime属性来指定其后让幻灯片自动放映的秒数。将SlideShowSettings对象的AdvanceMode属性设置为ppSlideShowUseSlideTimings ,使生效整个幻灯片放映的幻灯片间隔设置。Use the AdvanceTime property to specify the number of seconds after which the slide automatically advances. Set the AdvanceMode property of the SlideShowSettings object to ppSlideShowUseSlideTimings to put the slide interval settings into effect for the entire slide show.

AdvanceOnTime属性的值可以是其中一个MsoTriState常量。The value of the AdvanceOnTime property can be one of these MsoTriState constants.

常量Constant说明Description
msoFalsemsoFalse指定的幻灯片在经过指定时间后不进行自动切换。The specified slide does not advance automatically after a specified amount of time has elapsed.
属性值为 msoTruemsoTrue指定的幻灯片在经过指定时间后自动切换。The specified slide advances automatically after a specified amount of time has elapsed.

示例Example

本示例设置当前演示文稿前进五秒钟过去后或在单击鼠标时的第一张幻灯片吗?先发生者为准。This example sets slide one in the active presentation to advance after five seconds have passed or when the mouse is clicked ? whichever occurs first.

With ActivePresentation.Slides(1).SlideShowTransition

    .AdvanceOnClick = msoTrue

    .AdvanceOnTime = msoTrue

    .AdvanceTime = 5

End With

另请参阅See also

概念Concepts

SlideShowTransition 对象SlideShowTransition Object

© 2018 Microsoft