TableSetCellHorizontalPos

Description

Sets the horizontal position for a table cell in the RichTextEdit control.

Applies to

RichTextEdit control

Syntax

boolean rtename.TableSetCellHorizontalPos(long tableID, long row, long column, integer horizontalPos)

Argument

Description

tableID

The unique ID that identifies the table.

row The row number of the cell.
column The column number of the cell.
horizontalPos The horizontal position (in twips). Twip is a fabricated word meaning twentieth of a point (pt).

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 horizontal position of the cell (2,2) to be at 1500 twips.

long ll_tableid
boolean lb_rtn

ll_tableid = rte_1.TableInsert(3,4)
lb_rtn = rte_1.TableSetCellHorizontalPos(ll_tableid,2,2,1500)