Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Smart Art Shapes are special shapes in Microsoft Excel that allow you to create complex diagrams automatically. You can determine whether a shape is a Smart Art shape or a normal shape using the Shape.isSmartArt() property.
The following sample code loads the sample Excel file containing a Smart Art shape, as shown in this screenshot. It then prints the value of the Shape.isSmartArt() property for the first shape. See the console output shown below.

const path = require("path");
const AsposeCells = require("aspose.cells.node");
// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
const filePath = path.join(dataDir, "sampleSmartArtShape.xlsx");
// Load the sample Smart Art shape - Excel file
const workbook = new AsposeCells.Workbook(filePath);
// Access first worksheet
const worksheet = workbook.getWorksheets().get(0);
// Access first shape
const shape = worksheet.getShapes().get(0);
// Determine if shape is Smart Art
console.log("Is Smart Art Shape: " + shape.isSmartArt());
Is Smart Art Shape: True Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.