XlsFile.AddRadioButton Method
Adds a radio button to the active sheet. Call ExcelFile.AddGroupBox(TClientAnchor, TRichString) to insert a group box for grouping the radio buttons.
Remarks
Excel supports 2 types of radio buttons: ActiveX and internal (In Excel you would add them from the "ActiveX" and "Forms" toolbars respectively) The radio buttons added by this method are of type internal. ActiveX radio buttons are not supported.
Syntax
Namespace: FlexCel.XlsAdapter
public override Int32 AddRadioButton(TClientAnchor anchor, TRichString text, String name)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
anchor | TClientAnchor | Position for the radio button. | |
text | TRichString | Text for the radio button. | |
name | String | Name of the inserted radio button. |
Returns
Object Index of the inserted radio button (1 based).