PowerPoint.Application app = new PowerPoint.ApplicationClass(); app.Visible = Office.MsoTriState.msoTrue;
Presentation pres = app.Presentations.Open( path, Office.MsoTriState.msoFalse, Office.MsoTriState.msoTrue,
Office.MsoTriState.msoTrue ); // we jump between slides ourselves
pres.SlideShowSettings.AdvanceMode = PpSlideShowAdvanceMode.ppSlideShowManualAdvance;
// we want the whole slide and do not want to wait for any transitions
pres.SlideShowSettings.ShowWithAnimation = Office.MsoTriState.msoFalse;
// start the show just to fill the screen
app.ActivePresentation.SlideShowSettings.Run();
Presentation pres = app.Presentations.Open( path, Office.MsoTriState.msoFalse, Office.MsoTriState.msoTrue,
Office.MsoTriState.msoTrue ); // we jump between slides ourselves
pres.SlideShowSettings.AdvanceMode = PpSlideShowAdvanceMode.ppSlideShowManualAdvance;
// we want the whole slide and do not want to wait for any transitions
pres.SlideShowSettings.ShowWithAnimation = Office.MsoTriState.msoFalse;
// start the show just to fill the screen
app.ActivePresentation.SlideShowSettings.Run();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货