SharpLeaf Reference > Table Methods

Table Methods

Table Methods

AddCSVFlow a CSV array into table
AddColumnCellsAppend cells to current column
AddColumnsFlow an array of cells into table as columns, starting from current cell.
AddRowCellsAppend cells to current row.
AddRowsFlow an array of cells into table as rows, starting from current cell.
NextCellMove cell pointer to arbitrary cell
NextColumnMove cell pointer to the next column on the right
NextEmptyColumnMove cell pointer after next non-empty column.
NextEmptyRowMove cell pointer after next non-empty row.
NextRowMove cell pointer down one row.
SetCellAlignmentSet horizontal alignment of table cells (defaults to Alignment.Left)
SetCellBoxSet cell boxes to cycle through from current cell on
SetCellClipSet column right-edge clipping as boolean flags (defaults to true)
SetCellFillCharSet character used to fill cell text up to the column right edge (defaults to whitespace).
SetCellFontSet cell fonts to cycle through from current cell on
SetCellMarginsSet margins above/below/left/right cell content within cell boundary for all table cells (default is 3)
SetCellTextSet a specific cell text, extending table size if necessary.
SetCellVerticalAlignmentSet the vertical alignment of table cells (default is Top)
SetCellWrapSet text wrapping within columns as boolean flags (true by default)
SetColumnAfterSet column right margins to cycle through from current column on (default is 3)
SetColumnBeforeSet column left margins to cycle through from current column on (default is 3)
SetColumnGridSet vertical grid decoration (Defaults to 0.1 black solid)
SetColumnMaxWidthsSet maximum column widths to cycle through from current column on (defaults to -1 for no limit)
SetColumnMergeSet vertical cell merging flags to cycle through from current column on (defaults to false)
SetColumnMinWidthsSet minimum column widths to cycle through from current column on (defaults to 6 – twice the default cell gutter)
SetColumnRetainAdd indices of table columns that should be repeated on all subpages
SetColumnWidthsSet column widths to cycle through from current column on
SetOffsetSet column and row offset of table boxing and grid.
SetRowAfterSet row bottom margins to cycle through from current row on (default is 3)
SetRowBeforeSet row top margins to cycle through from current row on (default is 3)
SetRowGridSet horizontal grid decoration (defaults to 0.1 black solid)
SetRowHeightsSet fixed row heights to cycle through from current row on
SetRowMaxHeightsSet maximum row heights to cycle through from current row on (defaults to -1 for no limit)
SetRowMergeSet horizontal cell merging flags to cycle through from current row on (defaults to false)
SetRowMinHeightsSet minimum row heights to cycle through from current row on (defaults to 6 – twice the default cell gutter)
SetRowRetainAdd indices of table rows that should be repeated on all subpages
SetTitlesSet the number of leading columns and rows that are titles.

Send comments on this topic
© Dyalog Ltd 2021