1 2 3 4 5 6 7
|
application = new Microsoft.Office.Interop.PowerPoint.Application();
presentation = application.Presentations.Open2007(filename, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoTrue);
Microsoft.Office.Interop.PowerPoint.SlideShowSettings sst1 = presentation.SlideShowSettings;
sst1.ShowType = (Microsoft.Office.Interop.PowerPoint.PpSlideShowType)1;
Microsoft.Office.Interop.PowerPoint.SlideShowWindow sw = sst1.Run(); |
Partager