TableSetCellBorderWidth
PowerScript function
Description
Sets the border width (in twips) for a table cell in the
RichTextEdit control.
Applies to
Syntax
|
1 |
boolean rtename.TableSetCellBorderWidth(long tableID, long row, long column, integer width) |
|
1 |
boolean rtename.TableSetCellBorderWidth(long tableID, long row, long column, integer borderType, integer width) |
|
Argument |
Description |
|---|---|
|
tableID |
The unique ID that identifies the table. |
| row | The row number of the cell. |
| column | The column number of the cell. |
| borderType |
The border type to set the width. If not set, it means The following values are supported:
|
| width | The border width (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 border width for the cell (2,2) to be
25 twips.
|
1 2 3 4 5 |
long ll_tableid boolean lb_rtn ll_tableid = rte_1.TableInsert(3,4) lb_rtn = rte_1.TableSetCellBorderWidth (ll_tableid,2,2,25) |
The following example sets the border width for the specified border
types for the cell (2,2) to be 25 twips.
|
1 2 3 4 5 6 7 8 9 10 |
long ll_tableid boolean lb_rtn ll_tableid = rte_1.TableInsert(3,4) //right border lb_rtn = rte_1.TableSetCellBorderWidth(ll_tableid,2,2,3,25) //bottom border lb_rtn = rte_1.TableSetCellBorderWidth(ll_tableid,2,2,4,25) messagebox("",string(lb_rtn)) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest