TableSetBrushIndexΒΆ

TableSetBrushIndex sets the brush indices.

bool = TableSetBrushIndex(hTable, rmBrushIndex)
bool = TableSetBrushIndex(hTable, rmBrushIndex, rvSel)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hTable

Identifies the table object.

rmBrushIndex

rmBrushIndex is a matrix with the indices of fill colors. The index is the row number in the brush table returned by TableGetBrushList. Transparent cells have the index 0.

rvSel

rvSel is a vector with 4 elements:

Element

Description

rvSel[1]

Left column of selection

rvSel[2]

Top row of selection

rvSel[3]

Right column of selection

rvSel[4]

Bottom row of selection

Row an column numbering starts with 1.

id-606896