PsdImageAddLayerGroup Method
Adds the layer group.

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.7
Syntax
public LayerGroup AddLayerGroup(
	string groupName,
	int index,
	bool startBehaviour
)

Parameters

groupName
Type: SystemString
Name of the group.
index
Type: SystemInt32
The index of the layer to insert after.
startBehaviour
Type: SystemBoolean
if set to true [start behaviour] than group will be in open state on start up, otherwise in minimized state.

Return Value

Type: LayerGroup
Opening group layer
Exceptions
ExceptionCondition
PsdImageExceptionIndex must be in bounds of Layers count
See Also