Working with Group Shapes in Word Documents

[ ]

Sometimes you need to add a group shape into a Word document. Such a group shape consists of multiple shapes.

In Microsoft Word, you can quickly add a group shape using the Group command/button. An individual shape in a group can be moved separately.

In Aspose.Words it is very easy to add a group shape using the GroupShape class. The shape is created separately using the Shape class and then added to the GroupShape object using the AppendChild method.

The following code example shows how to add a group shape into a Word document: