ExcelFile.AddLabel Method
Adds a Label to the active sheet.
Remarks
Excel supports 2 types of labels: ActiveX and internal (In Excel you would add them from the "ActiveX" and "Forms" toolbars respectively) The labels added by this method are of type internal. ActiveX labels are not supported.
Syntax
Namespace: FlexCel.Core
public abstract Int32 AddLabel(TClientAnchor anchor, TRichString text, String name)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
anchor | TClientAnchor | Position for the label. | |
text | TRichString | Text for the label. | |
name | String | Name of the inserted label. |
Returns
Object Index of the inserted listbox (1 based).