TableSetCellHeight
PowerScript function
Description
Sets the minimum height (width in twips) for a table cell in the
RichTextEdit control.
Applies to
Syntax
|
1 |
boolean rtename.TableSetCellHeight(long tableID, long row, long column, integer height) |
|
Argument |
Description |
|---|---|
|
tableID |
The unique ID that identifies the table. |
| row | The row number of the cell. |
| column | The column number of the cell. |
| height | The minimum cell height (width in twips). Twip is a fabricated word meaning twentieth of a point (pt). If the value is 0, the cell height will be the minimum height that shows the full content in the cell. If the height needed to show the full content of any cell at the same row exceeds the specified value, the cell height will be the height needed to show the full content. |
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 minimum height of the cell (2,2) to
be 1000 twips.
|
1 2 3 4 5 6 |
long ll_tableid integer li_rtn ll_tableid = rte_1.TableInsert(3,4) li_rtn = rte_1.TableGetCellHeight(ll_tableid,2,2) messagebox("TableGetCellHeight",string(li_rtn)) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest