// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java //Load the sample smart art shape - Excel file Workbook wb = new Workbook("sampleSmartArtShape.xlsx"); //Access first worksheet Worksheet ws = wb.getWorksheets().get(0); //Access first shape Shape sh = ws.getShapes().get(0); //Determine if shape is smart art System.out.println("Is Smart Art Shape: " + sh.isSmartArt());