I am using the ''_SlideShowNextSlide(PowerPoint.SlideShowWindow Wn)" event for making a powerpoint add on in visual studio in C# and I need the condition for an if statement for if the user has ended the slideshow or pressed ESC.

Also if I there I could get the condition for if the user has pressed down or gone to the next slide that would be great too.

Thanks.

没有正确的解决方案

其他提示

Pressing down (arrow or page, either one) would go to the next slide, as would going to the next slide, and in either case, the NextSlide event you mention would be triggered.

For end show, there's an Application.SlideShowEnd event. Or for an If test, you could test whether Application.SlideShowWindows.Count is 0. If so, no slide show.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top