简体   繁体   中英

How to play a presentation with Powerpoint object model

I want to play a presentation that I am controlling and managing via the Powerpoint Object automation model. Pouwerpoint 2013. I expected the Presentation object to have a play or run method, but it does not. is it possible to do this, and if so, how? To be clear I want to do something like:

var app = new Powerpoint.Application();
var presentation = app.Presentations.Open(filename);
ManipulateStuffInPresentation(presentation);
presentation.Run();

But there is no Run method.

presentation.SlideShowSettings.Run();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM