TableCellBorderBottom

New in version 5.0

TableCellBorderBottom ( 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 0
Examples

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

TableCellBorderBottom(1 3 5;​2 -1;​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_BOTTOM_01
1

OpenDrawing(300;​125)

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

TableCellBorderBottom( 1;​2;​1;​red) /* Add bottom line to 1st row, 2nd column. ss*/

8

TableCellBorderBottom(-1;​2;​1;​red) /* Add bottom line to last row, 2nd column. */

9

CloseTable()

10

CloseDrawing()

TABLE_CELL_BORDER_BOTTOM_01
TABLE_CELL_BORDER_BOTTOM_02
1

OpenDrawing(300;​125)

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

TableCellBorderBottom(2;​1 -1;​1;​red) /* Add bottom line to 2nd row. */

8

CloseTable()

9

CloseDrawing()

TABLE_CELL_BORDER_BOTTOM_02
Scroll to Top
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×