Description
Gets the number format used for a table cell in the RichTextEdit control.
Applies to
Syntax
string rtename.TableGetCellNumberFormat(long tableID, long row, long column)
Argument |
Description |
---|---|
tableID |
The unique ID that identifies the table. |
row | The row number of the cell. |
column | The column number of the cell. |
Return value
String.
Returns the number format for the table cell if it succeeds. If the number format is not defined, returns an empty string. If any argument is null, returns null.
Examples
The following example gets the number format of the specified table cell.
string ls_rtn long ll_tableid ll_tableid = rte_1.TableInsert(3,4) rte_1.TableSetCellTextType(ll_tableid,2,2,1) rte_1.TableSetCellNumberFormat(ll_tableid,2,2,"0.00") rte_1.TableSetCellText(ll_tableid,2,2,"10") ls_rtn = rte_1.TableGetCellNumberFormat(ll_tableid,2,2) messagebox("TableGetCellNumberFormat ",ls_rtn)