AddGroupShape()

IShapeCollection::AddGroupShape() method

Creates a new empty group shape and adds it to the end of the shape collection. The group\u2019s frame will automatically adjust to fit any shapes added to it.

virtual System::SharedPtr<IGroupShape> Aspose::Slides::IShapeCollection::AddGroupShape()=0

Return Value

The newly created IGroupShape.

IShapeCollection::AddGroupShape(System::SharedPtr<ISvgImage>, float, float, float, float) method

Creates a new group shape, converts the specified SVG image into individual shapes, and adds the resulting group to the end of the shape collection.

virtual System::SharedPtr<IGroupShape> Aspose::Slides::IShapeCollection::AddGroupShape(System::SharedPtr<ISvgImage> svgImage, float x, float y, float width, float height)=0

Arguments

ParameterTypeDescription
svgImageSystem::SharedPtr<ISvgImage>The ISvgImage containing vector content to convert into shapes.
xfloatThe x-coordinate of the group\u2019s frame, in points.
yfloatThe y-coordinate of the group\u2019s frame, in points.
widthfloatThe width of the group\u2019s frame, in points.
heightfloatThe height of the group\u2019s frame, in points.

Return Value

The newly created IGroupShape.

See Also