Table of Contents

ExcelFile.GroupObjects Method

Overloads

ExcelFile.GroupObjects(Int32[])

Groups two or more objects. The objects must be at the root level, you can't group objects inside a group. But you can group a group with other groups or objects. This overload will group the objects without a group name, and with the the MoveAndResize anchor type.

Syntax

Namespace: FlexCel.Core

public void GroupObjects(params Int32[] objectIndexes)

Parameters

<-> Parameter Type Description
params objectIndexes Int32[] List of objects to group.

See also

ExcelFile.GroupObjects(String, TFlxAnchorType, Int32[])

Groups two or more objects. The objects must be at the root level, you can't group objects inside a group. But you can group a group with other groups or objects.

Syntax

Namespace: FlexCel.Core

public abstract void GroupObjects(String groupName, TFlxAnchorType anchorType, params Int32[] objectIndexes)

Parameters

<-> Parameter Type Description
groupName String Name of the group. You can keep it null to have a group without name.
anchorType TFlxAnchorType Anchor type for the group. It defines how the group will behave when you insert, delete or resize cells.
params objectIndexes Int32[] List of objects to group.

See also