# VisTblEx

Namespace: **PPJ.Runtime.Vis**

Assembly: **PPJ.Runtime.Vis.49** (4.9.0.0)

Extensions

{% tabs %}
{% tab title="C#" %}

```csharp
public class VisTblEx
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class VisTblEx
```

{% endtab %}
{% endtabs %}

## Fields

| Name                         | Type                                                                | Description                                                                                                       |
| ---------------------------- | ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| **COL\_NOCHANGE**            | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | The color will not be affected by this color entry                                                                |
| **COL\_NOT\_BG**             | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | The color will the negative of the BG color                                                                       |
| **ROWDELETE\_BMP**           | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | The standard SQLWindows bitmap for a marked for deletion row                                                      |
| **ROWEDIT\_BMP**             | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | The standard SQLWindows bitmap for an edited row                                                                  |
| **ROWNEW\_BMP**              | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | The standard SQLWindows bitmap for a new row                                                                      |
| **TBL\_BMP\_BESTFIT**        | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap should be sized to fit in the region where it is placed by scaling the width and height by the same amount |
| **TBL\_BMP\_BOTTOM**         | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap should be bottom aligned                                                                                   |
| **TBL\_BMP\_CENTER**         | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap should be centered horizontally                                                                            |
| **TBL\_BMP\_COLOR**          | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap is a color bitmap                                                                                          |
| **TBL\_BMP\_LEFT**           | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap should be left aligned                                                                                     |
| **TBL\_BMP\_MONO**           | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap is a monochrome bitmap (better performance)                                                                |
| **TBL\_BMP\_RIGHT**          | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap should be right aligned                                                                                    |
| **TBL\_BMP\_SCALE**          | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap should be scaled                                                                                           |
| **TBL\_BMP\_TOFIT**          | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap should be sized to exactly fit in the region where it is placed                                            |
| **TBL\_BMP\_TOP**            | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap should be top aligned                                                                                      |
| **TBL\_BMP\_VCENTER**        | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | Bitmap should be centered vertically                                                                              |
| **TBL\_FLG\_BOLD**           | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | bold                                                                                                              |
| **TBL\_FLG\_DOTTEDCOLLINES** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | dotted col lines                                                                                                  |
| **TBL\_FLG\_DOTTEDROWLINES** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | dotted row lines                                                                                                  |
| **TBL\_FLG\_ITALIC**         | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | italic                                                                                                            |
| **TBL\_FLG\_NOBOLD**         | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | no bold                                                                                                           |
| **TBL\_FLG\_NOCOLLINES**     | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | no col lines                                                                                                      |
| **TBL\_FLG\_NOCOLORS**       | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | no colors                                                                                                         |
| **TBL\_FLG\_NOFONTS**        | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | no fonts                                                                                                          |
| **TBL\_FLG\_NOITALIC**       | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | no italic                                                                                                         |
| **TBL\_FLG\_NOROWLINES**     | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | no row lines                                                                                                      |
| **TBL\_FLG\_NOSTRIKEOUT**    | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | no strikeout                                                                                                      |
| **TBL\_FLG\_NOUNDERLINE**    | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | no underline                                                                                                      |
| **TBL\_FLG\_SOLIDCOLLINES**  | [UInt32](https://docs.microsoft.com/en-us/dotnet/api/system.uint32) | solid col lines                                                                                                   |
| **TBL\_FLG\_SOLIDROWLINES**  | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | solid row lines                                                                                                   |
| **TBL\_FLG\_STRIKEOUT**      | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | strikeout                                                                                                         |
| **TBL\_FLG\_UNDERLINE**      | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   | underline                                                                                                         |

## Methods

### ![](/files/69uzLyEV3ANF4GK6pznb)AddBitmap(table, hBitmap, nFlags, nWidth, nHeight, nTransparentColor, nInversionColor, nIndex)

Adds a bitmap to the internal list.

| Parameter             | Type                                                                                | Description |
| --------------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**             | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **hBitmap**           | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nFlags**            | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nWidth**            | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nHeight**           | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nTransparentColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nInversionColor**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                | Not used    |
| **nIndex**            | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)AddRowBitmap(table, hBitmap, nFlags, nWidth, nHeight, nTransparentColor, nInversionColor, nRowFlags, nIndex, bReplace)

Defines the bitmap to show on the row header in combination with the row flags.

| Parameter             | Type                                                                                | Description |
| --------------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**             | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **hBitmap**           | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nFlags**            | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nWidth**            | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nHeight**           | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nTransparentColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nInversionColor**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nRowFlags**         | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nIndex**            | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **bReplace**          | [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)FreeBitmap(hBitmap)

Releases the bitmap resource.

| Parameter   | Type                                                                 | Description |
| ----------- | -------------------------------------------------------------------- | ----------- |
| **hBitmap** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md) |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetCellBitmap(table, nRow, nCol)

Gets the index of the bitmap used for the cell.

| Parameter | Type                                                                                | Description |
| --------- | ----------------------------------------------------------------------------------- | ----------- |
| **table** | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**  | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nCol**  | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetCellColor(table, nRow, nCol, nForeColor, nBackColor)

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nCol**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |
| **nBackColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetCellFont(table, nRow, nCol)

Gets the font flags for a cell.

| Parameter | Type                                                                                | Description |
| --------- | ----------------------------------------------------------------------------------- | ----------- |
| **table** | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**  | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nCol**  | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetColBitmap(table, nCol)

Gets a bitmap index for a column header.

| Parameter | Type                                                                                | Description |
| --------- | ----------------------------------------------------------------------------------- | ----------- |
| **table** | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**  | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetColColor(table, nCol, nForeColor, nBackColor)

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |
| **nBackColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetColFont(table, nCol)

Gets the font flags for an entire column.

| Parameter | Type                                                                                | Description |
| --------- | ----------------------------------------------------------------------------------- | ----------- |
| **table** | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**  | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetColHdrColor(table, nCol, nForeColor, nBackColor)

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |
| **nBackColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetColHdrFont(table, nCol)

Gets the font flags for a column header.

| Parameter | Type                                                                                | Description |
| --------- | ----------------------------------------------------------------------------------- | ----------- |
| **table** | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**  | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetRowColor(table, nRow, nForeColor, nBackColor)

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |
| **nBackColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetRowFont(table, nRow)

Gets the font flags for an entire row.

| Parameter | Type                                                                                | Description |
| --------- | ----------------------------------------------------------------------------------- | ----------- |
| **table** | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**  | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetRowHdrColor(table, nRow, nForeColor, nBackColor)

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |
| **nBackColor** | [SalNumber&](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)               |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetRowHdrFont(table, nRow)

Gets the font flags for a row header.

| Parameter | Type                                                                                | Description |
| --------- | ----------------------------------------------------------------------------------- | ----------- |
| **table** | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**  | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)GetTableFont(table)

Gets the font flags for the table.

| Parameter | Type                                                                                | Description |
| --------- | ----------------------------------------------------------------------------------- | ----------- |
| **table** | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)LoadBitmap(sFileName)

Loads a bitmap from the specified file.

| Parameter     | Type                                                                 | Description |
| ------------- | -------------------------------------------------------------------- | ----------- |
| **sFileName** | [SalString](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md) |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)RemoveBitmap(table, nIndex)

Removes the specified bitmap from the internal list.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nIndex** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)RemoveRowBitmap(table, nIndex)

Removes the specified row-header bitmap.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nIndex** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)Reset(table)

Resets all the Vis extended settings.

| Parameter | Type                                                                                | Description |
| --------- | ----------------------------------------------------------------------------------- | ----------- |
| **table** | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetCellBitmap(table, nRow, nCol, nIndex)

Selected the bitmap to use for the cell.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nCol**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nIndex** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetCellColor(table, nRow, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of an individual cell.

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nCol**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nBackColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetCellFont(table, nRow, nCol, nFlags)

Sets the font flags for a cell, can be a combination of Vis.TBL\_FLG\_\*.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nCol**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nFlags** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetColBitmap(table, nCol, nIndex)

Selects the bitmap to use for the column header.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nIndex** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetColColor(table, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of an entire column.

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nBackColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetColFont(table, nCol, nFlags)

Sets the font flags for an entire column, can be a combination of Vis.TBL\_FLG\_\*.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nFlags** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetColHdrColor(table, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of the column header.

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nBackColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetColHdrFont(table, nCol, nFlags)

Sets the font flags for a column header, can be a combination of Vis.TBL\_FLG\_\*.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nCol**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nFlags** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetRowColor(table, nRow, nForeColor, nBackColor)

Sets the BG and FG colors of an entire row.

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nBackColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetRowFont(table, nRow, nFlags)

Sets the font flags for an entire row, can be a combination of Vis.TBL\_FLG\_\*.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nFlags** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetRowHdrColor(table, nRow, nForeColor, nBackColor)

Sets the BG and FG colors of the row header.

| Parameter      | Type                                                                                | Description |
| -------------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**       | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nForeColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nBackColor** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetRowHdrFont(table, nRow, nFlags)

Sets the font flags for a row header, can be a combination of Vis.TBL\_FLG\_\*.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nRow**   | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |
| **nFlags** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).

### ![](/files/69uzLyEV3ANF4GK6pznb)SetTableFont(table, nFlags)

Sets the font flags for the table, can be a combination of Vis.TBL\_FLG\_\*.

| Parameter  | Type                                                                                | Description |
| ---------- | ----------------------------------------------------------------------------------- | ----------- |
| **table**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) |             |
| **nFlags** | [SalNumber](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md)                |             |

**Returns:** [SalBoolean](/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/general/ppj.runtime.vis.vistblex.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
