Click or drag to resize

GroupShapeAddGroup Method (IEnumerableDrawing)

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: 21.3.35.1032 (21.3.35.1032)
Syntax
public GroupShape AddGroup(
	IEnumerable<Drawing> drawings
)

Parameters

drawings
Type: System.Collections.GenericIEnumerableDrawing
The drawings that should be grouped.

Return Value

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