Color cell (Layers section)

Microsoft Office ShapeSheet

Color cell (Layers section)

       Rows

Specifies the color used to display the layer.

Remarks

To set the color, enter a number from 0 to 23. This number corresponds to a color in the current color palette, which you can also set in the Color Palette dialog box (click Color Palette on the Tools menu).

This cell corresponds to the Color option in the Layer Properties dialog box (click Layer Properties on the View menu).

To enter a custom color, use the RGB or HSL function. The value of a custom color is its RGB color, and RGB(r, g, b), rather than a number, will be shown in the ShapeSheet window. When used in numeric operations, custom colors have values of 24 and above.

You can set the transparency of the layer color in the Transparency cell.

To reference the Color cell by name from another formula, or from a program using the Cells property, use:

Cell name:

Layers.Color[i]
where i = <1>, 2, 3, …

To reference the Color cell by index from a program, use the CellsSRC property with the following arguments:

Section index:

visSectionLayer

Row index:

visRowLayer + i
where i = 0, 1, 2, …

Cell index:

visLayerColor