TableGetCellHorizontalPos

Description

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

Applies to

RichTextEdit control

Syntax

integer rtename.TableGetCellHorizontalPos(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

Integer.

Returns the horizontal position (in twips). Twip is a fabricated word meaning twentieth of a point (pt). Returns -1 if it fails. Returns null if any argument is null.

Examples

The following example gets the horizontal position of the cell (2,2).

long ll_tableid
integer li_rtn

ll_tableid = rte_1.TableInsert(3,4)
li_rtn = rte_1.TableGetCellHorizontalPos(ll_tableid,2,2)