Extract Text from the Gear Type SmartArt Shape with Golang via C++

Possible Usage Scenarios

Aspose.Cells for C++ can extract text from the Gear Type SmartArt Shape. To achieve this, follow these steps:

  1. Convert SmartArt Shape to Group Shape using the Shape::GetResultOfSmartArt() method.
  2. Retrieve all individual shapes forming the Group Shape using the GroupShape::GetGroupedShapes() method.
  3. Iterate through each individual shape and extract text using the GetText() method.

Extract Text from the Gear Type SmartArt Shape

The following sample code loads a sample Excel file containing a Gear Type SmartArt Shape and extracts text from its individual shapes. Refer to the console output below for results.

Sample Code

Console Output

Gear Type Shape Text: Nice
Gear Type Shape Text: Good
Gear Type Shape Text: Excellent