AddGroupShape()

IShapeCollection::AddGroupShape() method

Creates a new GroupShape and adds it to the end of the collection. GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape.

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

Return Value

Created GroupShape object.

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

Creates a new GroupShape, fills it with converted shapes from SVG and adds it to the end of the 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>Svg image object ISvgImage
xfloatThe X coordinate for the left side of the shape group frame.
yfloatThe Y coordinate for the top side of the shape group frame.
widthfloatThe width of the group of the shape group frame.
heightfloatThe height of a group of the shape group frame.

Return Value

Created GroupShape object.

See Also