Aspose.Slides.Presentation how to end current presentation?

Hi,
I need to add a button to my presentation that ends the current presentation.
I try to explain it in a better way. I’d like to add to a slide a button that makes the same things that happens when “ESC” key button is pressed (or when by left clicking the mouse you choose the voice “End presentation”).
I only find code to Opening a presentation but I can’t find code about how to close it.
Can anyone help me, please?

Thank you very much.
Giovanna

Hi Giovanna,


Thank you for your interest in Aspose.Slides.

I have observed your requirements but I am unable to understand them completely. Do you want to end a slideshow or to close a presentation file? Please clarify. I request you to please share with us a sample presentation created using PowerPoint, as expected output so that we may proceed further to help you out.

Best Regards,

Hi,
I need to close the presentation file.
Please see attached presentation.

Thank you very much

Hi Giovanna,


I have observed the file shared you and like to add that the button in this file ends the slide show and is not closing the file itself. A file can not be closed by using a button like this. Only the slide show can be ended by using the Hyperlink.EndShow property in Aspose.Slides.

Please share if I may help you further in this regard.

Best Regards,