TypeTextShadow Property
Applies To
fpSpread control
Description
Sets or returns whether a static text cell is displayed with a raised three-dimensional appearance. This property is available at run time only.
Syntax
BOOL CSpreadSheet::GetTypeTextShadow( );
void CSpreadSheet::SetTypeTextShadow(BOOL value);
[form.]fpSpread.TypeTextShadow[ = boolean%]
Remarks
Use the TypeTextShadow property with static text cells to create a raised three-dimensional appearance for the cell. Use the TypeTextShadowIn property with static text cells to create a lowered three-dimensional appearance.
The default value for the TypeTextShadow property is True for headers and False for all other static text cells.
When you set the TypeTextShadow property to True, the cell displays the background color specified by the ShadowColor property. Specify the color of the shadow border along the right side and bottom of the cell using the ShadowDark property. Specify the color of the text displayed in the cell using the ShadowText property.
You can also use the TypeTextShadow property with the column and row headers by specifying the header column or row and setting the value to False to remove the three-dimensional appearance.
To use the TypeTextShadow property, specify the sheet with which you want to work by setting the Sheet property. Then specify the cell or cells to which to apply the property, as described in Using Column and Row Properties. Once you set the TypeTextShadow property for a cell or cells, any subsequent static text cells you create will use the same TypeTextShadow setting unless you reset it for those cells.
The TypeTextShadow property does not have an effect unless the CellType property is set to 5 (Static Text) for the specified cell or cells, or if the specified cell or cells are header cells.
Spread Designer
Choose the Cell menu, the Cell Type menu, the Label(Static) menu, and then the Settings tab, and then select the Raised option box in the Shadow group box in the Cell Type Settings dialog box.
Data Type
Integer (Boolean)
See Also
Setting the Header Three-Dimensional Appearance
Displaying Three-Dimensional Appearance in a Static Text Cell
CellType, ShadowColor, ShadowDark, ShadowText, Sheet, TypeTextShadowIn properties