Table of Contents

TExcelFile.GroupObjects Method

Overloads

TExcelFile.GroupObjects(Int32Array)

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

Unit: FlexCel.Core

procedure TExcelFile.GroupObjects(const objectIndexes: TArray<Int32>); overload;

Parameters

<-> Parameter Type Description
const objectIndexes TArray<Int32> List of objects to group.

See also

TExcelFile.GroupObjects(string, TFlxAnchorType, Int32Array)

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

Unit: FlexCel.Core

procedure TExcelFile.GroupObjects(const groupName: string; const anchorType: TFlxAnchorType; const objectIndexes: TArray<Int32>); overload; virtual; abstract;

Parameters

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

See also