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 find if the shape is a smart art shape or normal shape using 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 Shape.IsSmartArt property of the first shape. Please see the console output of the sample code given below.

#include <iostream>
#include "Aspose.Cells.h"
using namespace Aspose::Cells;
using namespace Aspose::Cells::Drawing;
int main()
{
Aspose::Cells::Startup();
// Load the sample smart art shape - Excel file
U16String inputFilePath(u"sampleSmartArtShape.xlsx");
Workbook wb(inputFilePath);
// Access first worksheet
WorksheetCollection sheets = wb.GetWorksheets();
Worksheet ws = sheets.Get(0);
// Access first shape
ShapeCollection shapes = ws.GetShapes();
Shape sh = shapes.Get(0);
// Determine if shape is smart art
std::cout << "Is Smart Art Shape: " << sh.IsSmartArt() << std::endl;
Aspose::Cells::Cleanup();
}
Is Smart Art Shape: TrueAnalyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.