TextBkgnd cell (Text Block Format section)

TextBkgnd cell (Text Block Format section)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Section         Rows

Determines the text background color for a shape.

Remarks

The TextBkgnd cell can have any value from 0 through 24, or 255. The values 0 and 255 (visTxtBlklOpaque) both indicate a transparent text background. To select a color value, add 1 to the value displayed in the Color Palette dialog box (click Color Palette on the Tools menu).

To enter a custom color, use the RGB or HSL function plus oneā€”for example, RGB(255,127,255)+1. The value of a custom color is its RGB color, and RGB(r, g, b)+1, rather than a number, will be shown in the ShapeSheet window. When used in numeric operations, custom colors have values of 25 and above.

You can set the transparency of the text background color in the TextBkgndTrans cell.

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

Cell name:

TextBkgnd

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

Section index:

visSectionObject

Row index:

visRowText

Cell index:

visTxtBlkBkgnd