InsertGroupShape

IShapeCollection.InsertGroupShape method

Creates a new empty group shape and inserts it to the shape collection at the specified index. The group’s frame will automatically adjust to fit any shapes added to it.

public IGroupShape InsertGroupShape(int index)
ParameterTypeDescription
indexInt32The zero-based index at which to insert the group shape.

Return Value

The newly created IGroupShape.

See Also