Description
Gets the number of columns in a table in the RichTextEdit control.
Applies to
Syntax
long rtename.TableGetColumnCount(long tableID)
Return value
Long.
Returns the number of columns that the table (with the specified table ID) contains. Returns 0 if it fails. Returns null if any argument is null.
Examples
The following example gets the number of columns in the specified table:
long ll_tableid,ll_rtn ll_tableid = rte_1.TableInsert(3,4) ll_rtn = rte_1.TableGetColumnCount(ll_tableid)