Example: Visible property

This example gets the visible property of a spreadsheet.

try {
  Application application = Application.getInstance();
  Spreadsheets spreadsheets = application.getSpreadsheets();
  Spreadsheet spreadsheet = spreadsheets.openSpreadsheet("D:\\test.ods", true);
  boolean visible = spreadsheet.isVisible();
} catch(Exception e) {
  e.printStackTrace();
}

Related information

Visible property