We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Managing slides transition to jump to different slides (C# .NET)

Can aspose.slidecontrol the PPT?Turn the page, stop playing, start playing…

@jlsheshen,

I have observed your requirements and asked you to share the requirements in the form of a sample presentation using Aspose.Slides.

In addition, Aspsoe.Slides allows you to set an internal hyperlink to the slide on the shape, and you can use it to move the previous, next or any other slide as needed. It also provide different slide transition effects too that you can observe in this example section.

 public static void testLink()
{
    Presentation pres = new Presentation();

    ISlide slide=pres.Slides.AddEmptySlide(pres.LayoutSlides.GetByType(SlideLayoutType.Blank));
    
    pres.MasterTheme.ColorScheme.Hyperlink.Color=Color.Green;
    pres.MasterTheme.ColorScheme.FollowedHyperlink.Color=Color.Blue;

    IAutoShape ashp = slide.Shapes.AddAutoShape(ShapeType.Rectangle, 50, 50, 200, 200);
    ashp.AddTextFrame("Test Link");
        ashp.TextFrame.Paragraphs[0].Portions[0].PortionFormat.HyperlinkManager.SetInternalHyperlinkClick(pres.Slides[0]);


    pres.Save("C:\\Aspose Data\\GenPres.pptx", Aspose.Slides.Export.SaveFormat.Pptx);

}