Example: setEditAreaVisible method

This example sets the edit area of the presentation to be not visible.

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

Related information

setEditAreaVisible method