GridNameCollection.Add
Contents
[
Hide
]Add(string, string)
Defines a new global name.
public int Add(string text, string refersTo)
Parameter | Type | Description |
---|---|---|
text | String | Name text.It can have sheetname . |
refersTo | String | The formula that the name is defined to refer to.It must have a sheetname .eg.‘sheet hello!‘A1:B2. |
Return Value
Name object index.
See Also
- class GridNameCollection
- namespace Aspose.Cells.GridWeb.Data
- assembly Aspose.Cells.GridWeb
Add(int, string, string)
Defines a new name in the specified sheet.
public int Add(int sheetIndex, string text, string refersTo)
Parameter | Type | Description |
---|---|---|
sheetIndex | Int32 | The sheet index that the name is applyed in. |
text | String | Name text.It can not have sheetname . |
refersTo | String | The formula that the name is defined to refer to.It must have sheetname .eg.‘sheet hello!‘A1:B2. |
Return Value
Name object index.
See Also
- class GridNameCollection
- namespace Aspose.Cells.GridWeb.Data
- assembly Aspose.Cells.GridWeb