private static void Main(string[] args) { // Step1. Create a PowerPoint application instance var powerPointApplication = PptApplicationManager.CreatePowerPointApplication(); // Step2. Open an existing PowerPoint presentation var pptPresentation = PptPresentationManager.OpenExistingPowerPointPresentation( powerPointApplication, Environment.CurrentDirectory + ResourceFolder + TemplatePath); // Step3. Create two clones of our second slide (we will use this a lot) PptSlideManager.CloneSlide(pptPresentation, pptPresentation.Slides[2], Locations.Location.Last); PptSlideManager.CloneSlide(pptPresentation, pptPresentation.Slides[2], Locations.Location.Last); // Step4. Decorate Slides 1,2,3,4 DecorateSlides(pptPresentation); // Step 5. Configure Transitions for slides in the presentation PptSlideManager.SetSlideTransition( pptPresentation.Slides[1], PPT.PpEntryEffect.ppEffectWheel8Spokes, PPT.PpTransitionSpeed.ppTransitionSpeedMedium); PptSlideManager.SetSlideTransition( pptPresentation.Slides[2], PPT.PpEntryEffect.ppEffectBlindsHorizontal, PPT.PpTransitionSpeed.ppTransitionSpeedMedium); PptSlideManager.SetSlideTransition( pptPresentation.Slides[3], PPT.PpEntryEffect.ppEffectShredRectangleOut, PPT.PpTransitionSpeed.ppTransitionSpeedMedium); PptSlideManager.SetSlideTransition( pptPresentation.Slides[4], PPT.PpEntryEffect.ppEffectGlitterDiamondUp, PPT.PpTransitionSpeed.ppTransitionSpeedMedium); // Step 6. Run Cleanup (Save presentation, export slides as PNG and dispose of objects Cleanup(pptPresentation, powerPointApplication); // Step 7. Run the presentation System.Diagnostics.Process.Start(Environment.CurrentDirectory + ResourceFolder); }