Description
Gets the horizontal extension for a table cell in the RichTextEdit control.
Applies to
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 extension (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 extension of the cell (2,2).
long ll_tableid integer li_rtn ll_tableid = rte_1.TableInsert(3,4) li_rtn = rte_1.TableGetCellHorizontalExt(ll_tableid,2,2)