Table of Contents

ExcelFile.AddGroupBox Method

Overloads

ExcelFile.AddGroupBox(TClientAnchor, TRichString)

Adds a Group box to the active sheet. Call AddRadioButton(TClientAnchor, TRichString) to insert radio buttons inside the group box.

Remarks

Excel determines if a radio button is inside a group box by looking at the coordinates of both objects. To include a radio button inside the group box, just make sure it is entirely inside the group box. Object hierarchy doesn't matter here, only the positions of the group box and the radio button.

Syntax

Namespace: FlexCel.Core

public Int32 AddGroupBox(TClientAnchor anchor, TRichString text)

Parameters

<-> Parameter Type Description
anchor TClientAnchor Position for the group box.
text TRichString Text for the group box.

Returns

Object Index of the inserted group box (1 based).

See also

ExcelFile.AddGroupBox(TClientAnchor, TRichString, String)

Adds a Group box to the active sheet. Call AddRadioButton(TClientAnchor, TRichString) to insert radio buttons inside the group box.

Remarks

Excel determines if a radio button is inside a group box by looking at the coordinates of both objects. To include a radio button inside the group box, just make sure it is entirely inside the group box. Object hierarchy doesn't matter here, only the positions of the group box and the radio button.

Syntax

Namespace: FlexCel.Core

public abstract Int32 AddGroupBox(TClientAnchor anchor, TRichString text, String name)

Parameters

<-> Parameter Type Description
anchor TClientAnchor Position for the group box.
text TRichString Text for the group box.
name String Name for the inserted Group box

Returns

Object Index of the inserted group box (1 based).

See also