For complete examples and data files, please go to https://github.com/aspose-slides/Aspose.Slides-for-C // The path to the documents directory. const String templatePath = u"../templates/SimpleSlideTransitions.pptx"; const String outPath = u"../out/SimpleSlideTransitions.pptx"; // Instantiate Presentation class SharedPtr<Presentation>pres = MakeObject<Presentation>(templatePath); // Apply circle type transition on slide 1 pres->get_Slides()->idx_get(0)->get_SlideShowTransition()->set_Type(Aspose::Slides::SlideShow::TransitionType::Circle); // Apply comb type transition on slide 2 pres->get_Slides()->idx_get(1)->get_SlideShowTransition()->set_Type(Aspose::Slides::SlideShow::TransitionType::Comb); // Write the presentation to disk pres->Save(outPath, Aspose::Slides::Export::SaveFormat::Pptx);