How to Add Group Shape into a Word Document
Contents
[
Hide
]
Below are some of the Shape types supported in Aspose.Words. For complete list, please visit ShapeType
- Rectangle
- RoundRectangle
- RoundRectangle
- Ellipse
- Diamond
- Triangle
- RightTriangle
- Parallelogram
- Trapezoid
- Hexagon
- Octagon
Sometimes you need to add a group shape into a Word document. In Microsoft Word, you can quickly add a group shape using Group command/button. A group shape consists of multiple shapes. Individual shape in a group can be moved separately. In Aspose.Words it is very easy to add a group shape using GroupShape class. Shape is created separately using Shape class and then added in GroupShape object using AppendChild method.
Example
Below example add a group shape into a Word document.