Search
Factory.CreateGroup Method
See Also
 





Creates a new hierarchical Group with the specified main item.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Group CreateGroup (
    DiagramItem mainItem
)

Visual Basic  Copy Code

Public Function CreateGroup( _
    mainItem As DiagramItem _
) As Group

 Parameters

mainItem
The DiagramItem around which the group would be built.

 Return Value

The newly created Group instance if successfully created; otherwise null (Nothing in Visual Basic).

 Remarks

Use this method to create an hierarchical group of items. Attach subordinated items by using the various Group members.

 See Also