Extract Text from the Gear Type SmartArt Shape with Golang via C++
Contents
[
Hide
]
Possible Usage Scenarios
Aspose.Cells for C++ can extract text from the Gear Type SmartArt Shape. To achieve this, follow these steps:
- Convert SmartArt Shape to Group Shape using the Shape::GetResultOfSmartArt() method.
- Retrieve all individual shapes forming the Group Shape using the GroupShape::GetGroupedShapes() method.
- 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