Convert the Smart Art to Group Shape
Contents
[
Hide
]
Possible Usage Scenarios
You can convert Smart Art Shape into Group Shape using the Shape.getResultOfSmartArt() method. It will enable you to handle smart art shape like a group shape. Consequently, you will have access to the individual parts or shapes of the group shape.
Convert the Smart Art to Group Shape
The following sample code loads the sample Excel file containing a smart art shape as shown in this screenshot. It then converts the smart art shape into group shape and prints the Shape.IsGroup property. Please see the console output of the sample code given below.
Sample Code
Console Output
Is Smart Art Shape: true
Is Group Shape: false
Is Group Shape: true