The GetStyle function retrieves one style of the specified cell.
Syntax
String Table.GetStyle(
Integer index,
String field,
String name)
Integer index,
String field,
String name)
Parameters
| index | Index of the item. | Required |
|---|---|---|
| field | Name or Index of the field. | Required |
| name | Name of the style. | Required |
Return value
The GetStyle function returns the value of the specified cell style.
If an error occurs, the GetStyle function returns an empty string.
Example
String color
color = myTable.GetStyle(0, "0", "textcolor")
color = myTable.GetStyle(0, "0", "textcolor")