19.4. Table API Overview
Prev | Chapter 19. Graphical tables | Next

## 19.4. Table API Overview

In this overview we do not give details about the arguments required by each method. Instead this is meant as an overview to get a feel for what is available in the library. All details are provided in the class reference.

Table 19.1. Table API Overview
Method name | Description
--- | ---
Constructing
`GTextTable()` | Create a new table
`Init()` | Specify table size
`Set()` | Specify data in table
`SetPos()` | Specify position of table in graph
`SetScalePos()` | Specify scale position of table in graph
`SetAnchorPos()` | Specify anchor position for table. By default the top left corner of the table will be aligned with the specified position.
Merging cells
`MergeCol()` | Merge all cells in the same column
`MergeRow()` | Merge all cells in the same row
`MergeCells()` | Merge all cells in a range
Font specification
`SetFont()` | Set default font for range or entire table
`SetRowFont()` | Set font for a specific row
`SetColFont()` | Set font for a specific column
`SetCellFont()` | Set font for a specific cell
Font color
`SetColor()` | Set default font color for range or entire table
`SetRowColor()` | Set font color for a specific row
`SetColColor()` | Set font color for a specific column
`SetCellColor()` | Set font color for a specific cell
Fill color
`SetFillColor()` | Set fill color for range or entire table
`SetRowFillColor()` | Set fill color for an entire row
`SetColFillColor()` | Set fill color for an entire column
`SetCellFillColor()` | Set fill color fro a specific cell
Alignment in cells
`SetAlign()` | Set default align for range or entire table
`SetRowAlign()` | Set align in a specific row
`SetColAlign()` | Set align in a specific column
`SetCellAlign()` | Set align in a specific cell
Borders and grid
`SetBorder()` | Set weight of border around the table
`SetGrid()` | Set style and weight for interior grid
`SetColGrid()` | Specify grid for a specific column
`SetRowGrid()` | Specify grid for a specific row
Background images & country flags
`SetImage()` | Use the specified image as background
`SetCellImage()` | Use the specified image as background
`SetRowImage()` | Use the specified image as background
`SetColImage()` | Use the specified image as background
`SetCountryFlag()` | Use a country flag as background
`SetImageConstrain()` | Specify width or height for cell image (or flag)
Width and height of cells
`SetMinColWidth()` | Set minumum column width
`SetMinRowHeight()` | Set minimum row height
Number formatting
`SetNumberFormat()` | Set number format for range or entire table
`SetRowNumberFormat()` | Number format fro a specific row
`SetColNumberFormat()` | Number format fro a specific column
`SetCellNumberFormat()` | Number format fro a specific cell
Cell padding and margins
`SetPadding()` | Set default padding for range or all cells
`SetRowPadding()` | Set padding in a specific row
`SetColPadding()` | Set padding in a specific column
`SetCellPadding()` | Set padding in a specific cell
Text orientation
`SetTextOrientation()` | Set text orientation for entire table
`SetCellTextOrientation()` | Set text orientation for a specific cell
CSIM Handling
`SetCellCSIMTarget()` | Set URL target for specified cell
`SetCSIMTarget()` | Set URL target for all cells. By using this method it is also possible to have an automatic row and column index appended to the target URL as GET parameters

Prev | Up | Next
19.3. CSIM Table support | Home | 19.5. Examples