Convert the Smart Art to Group Shape

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.

todo:image_alt_text

Sample Code

Console Output

Is Smart Art Shape: True

Is Group Shape: False

Is Group Shape: True