Table of Contents

XlsFile.AddGroupBox Method

Adds a Group box to the active sheet. Call ExcelFile.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.XlsAdapter

public override 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