insertGroupShape method

insertGroupShape(shapes) {#shapebase[]}

Groups the shapes passed as a parameter into a new GroupShape node which is inserted into the current position.

insertGroupShape(shapes: Aspose.Words.Drawing.ShapeBase[])
ParameterTypeDescription
shapesShapeBase[]The list of shapes to be grouped.

Remarks

The position and dimension of the new GroupShape will be calculated automatically.

VML and DML shapes cannot be grouped together.

insertGroupShape(left, top, width, height, shapes) {#number_number_number_number_shapebase[]}

Groups the shapes passed as a parameter into a new GroupShape node of the specified size which is inserted into the specified position.

insertGroupShape(left: number, top: number, width: number, height: number, shapes: Aspose.Words.Drawing.ShapeBase[])
ParameterTypeDescription
leftnumberDistance in points from the origin to the left side of the group shape.
topnumberDistance in points from the origin to the top side of the group shape.
widthnumberThe width of the group shape in points. A negative value is not allowed.
heightnumberThe height of the group shape in points. A negative value is not allowed.
shapesShapeBase[]The list of shapes to be grouped.

Remarks

VML and DML shapes cannot be grouped together.

See Also