AddGroupShape

AddGroupShape()

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

public IGroupShape AddGroupShape()

Return Value

The newly created IGroupShape.

See Also


AddGroupShape(ISvgImage, float, float, float, float)

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.

public IGroupShape AddGroupShape(ISvgImage svgImage, float x, float y, float width, float height)
ParameterTypeDescription
svgImageISvgImageThe ISvgImage containing vector content to convert into shapes.
xSingleThe x-coordinate of the group’s frame, in points.
ySingleThe y-coordinate of the group’s frame, in points.
widthSingleThe width of the group’s frame, in points.
heightSingleThe height of the group’s frame, in points.

Return Value

The newly created IGroupShape.

See Also