PsdImage.AddLayerGroup

PsdImage.AddLayerGroup method

Adds the layer group.

public LayerGroup AddLayerGroup(string groupName, int index, bool startBehaviour)
ParameterTypeDescription
groupNameStringName of the group.
indexInt32The index of the layer to insert after.
startBehaviourBooleanif set to true [start behaviour] than group will be in open state on start up, otherwise in minimized state.

Return Value

Opening group layer

Exceptions

exceptioncondition
PsdImageExceptionIndex must be in bounds of Layers count

See Also