TableCellBorderRight

New in version 5.0

TableCellBorderRight ( rowIndices ;​ columnIndices ;​ borderStroke ;​ borderColor ;​ borderColorVariant )

Argument Type Range Default Note
rowIndices int[] -1000..1000 0 0...all
columnIndices int[] -1000..1000 0 0...all
borderStroke num[] 0..1000 1 Dimension:[pt]
borderColor rgba 0..255 black
borderColorVariant int -1..128 solid
Examples

TableCellBorderRight(1 -1;​2;​1;​red)

TableCellBorderRight(1 -1;​2 3 4;​1;​red)

Description

Cells are referenced by the row and column index. For example:

TableCellBackground( 5 3;​yellow) /* Cell in row 5, column 3. */

TableCellBackground( 5 -1;​yellow) /* Cell in row 5, last column. */

TableCellBackground(-1 -1;​yellow) /* Cell in last row, last column. */

TableCellBackground( 5 -2;​yellow) /* Cell in row 5, second last column. */

TableCellBackground(-3 -2;​yellow) /* Cell in third last row, second last column. */

TABLE_CELL_BORDER_RIGHT_01
1

OpenDrawing(300;​130)

2

OpenTable(0;​0;​left;​top)

3

TableTexts("";​"10\t1,234.21\t712\n25\t93.42\t3949\n268\t234.20\t6854\n185\t-1,692.21\t•••\n124\t198.50\t1000")

4

TableCellStyle(0;​Verdana;​15;​plain;​black) /* 0..all cells. */

5

TableColumnAlignments(right;​right;​right)

6

TableColumnWidths(0;​100;​80) /* 1st column: 0...automatic column width. */

7

TableCellBorderRight(2 3;​-1;​1;​red) /* Add right line to 2nd and 3rd row of last column. */

8

TableCellBorderRight(-1 -1;​0;​1;​red) /* Add right line to all cells of last row. */

9

CloseTable()

10

CloseDrawing()

TABLE_CELL_BORDER_RIGHT_01
TABLE_CELL_BORDER_RIGHT_02
1

OpenDrawing(300;​130)

2

OpenTable(0;​0;​left;​top)

3

TableTexts("";​"10\t1,234.21\t712\n25\t93.42\t3949\n268\t234.20\t6854\n185\t-1,692.21\t•••\n124\t198.50\t1000")

4

TableCellStyle(0;​Verdana;​15;​plain;​black) /* 0..all cells. */

5

TableColumnAlignments(right;​right;​right)

6

TableColumnWidths(0;​100;​80) /* 1st column: 0...automatic column width. */

7

TableCellBorderRight(1 -1;​2 3;​1;​red) /* Add right line to 2nd and 3rd column. */

8

CloseTable()

9

CloseDrawing()

TABLE_CELL_BORDER_RIGHT_02
Scroll to Top