TableGetBrushListΒΆ

TableGetBrushList returns a matrix with 3 columns. Each row specifies a color used in the table.

rmColorRGB = TableGetBrushList(hTable)

Return Value

rmColorRGB is a matrix with 3 columns:

Value

Description

rmColorRGB[1]

Red in the range of 0 to 255

rmColorRGB[2]

Green in the range of 0 to 255

rmColorRGB[3]

Blue in the range of 0 to 255

The row number is the color index used in TableGetBrushIndex.

To set a cell to transparent set the index to 0.

Parameters

hTable

Identifies the table object.

Comment

The brush list can contain unused colors. When the document is saved the unused brushes will be removed.

id-1913359