TableCellBorderLeft

New in version 5.0

TableCellBorderLeft ( 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

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

TableCellBorderLeft(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_LEFT_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

TableCellBorderLeft(1;​-1;​1;​red) /* Add left line to last column of 1st row. */

8

TableCellBorderLeft(-2 -2;​0;​1;​red) /* Add left line to all cells of 2nd last row. */

9

CloseTable()

10

CloseDrawing()

TABLE_CELL_BORDER_LEFT_01
TABLE_CELL_BORDER_LEFT_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

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

8

CloseTable()

9

CloseDrawing()

TABLE_CELL_BORDER_LEFT_02
Scroll to Top