Click or drag to resize

GroupShapeAddGroup Method (Drawing)

Adds a new GroupShape that groups the specified drawings to the current GroupShape.

Drawings should either be contained under the current GroupShape, in which case they will be removed from the current GroupShape and added to a returned GroupShape, or should not be contained in any GroupShape.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: (
public GroupShape AddGroup(
	params Drawing[] drawings


Type: GemBox.PresentationDrawing
The drawings that should be grouped.

Return Value

Type: GroupShape
A new GroupShape that groups the specified drawings added to the current GroupShape.
ArgumentNullExceptiondrawings is .
ArgumentExceptiondrawings contains a object.
See Also