Example: Presentations property

This example shows how to open a presentation in visible mode.

 try {
  Application application = Application.getInstance();
  Presentations presentations = application.getPresentations();
  Presentation presentation = presentations.openPresentation("D:\\test.odp", true);
 } catch(Exception e) {
   e.printStackTrace();
 }

Related information

Presentations property