TableSetCellHeader

Description

Sets the a table cell as the table header in a RichTextEdit control.

Applies to

RichTextEdit control

Syntax

boolean rtename.TableSetCellHeader(long tableID, long row, long column, boolean bHeader)

Argument

Description

tableID

The unique ID that identifies the table.

row The row number of the cell.
column The column number of the cell.
bHeader True means setting the cell as the table header. False means cancelling the cell as the table header.

Return value

Boolean.

Returns true if it succeeds. Returns false if it fails. Returns null if any argument is null.

Examples

The following example sets the specified cell as table header.

long ll_tableid
boolean lb_rtn

ll_tableid = rte_1.TableInsert(3,4)
lb_rtn = rte_1.TableSetCellHeader(ll_tableid,1,1,true)