ExcelFile.AddButton Method
Adds a button to the sheet, with the associated macro.
Syntax
Namespace: FlexCel.Core
public abstract Int32 AddButton(TClientAnchor anchor, TRichString text, String name, String macro)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
anchor | TClientAnchor | Position for the button. | |
text | TRichString | Text that will be shown in the button. | |
name | String | Name for the inserted button. | |
macro | String | Macro associated with the button. |