Spread 8.0 Documentation
TypeCheckTextAlign Property
Support Options
ActiveX Reference > ActiveX Properties > TypeCheckTextAlign Property

Glossary Item Box

TypeCheckTextAlign Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the alignment of the picture and text in a check box cell. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetTypeCheckTextAlign( );
void CSpreadSheet::SetTypeCheckTextAlign(long value);

Visual Basic

[form.]fpSpread.TypeCheckTextAlign[ = setting%]

Remarks

The following settings are available:

Setting Description Constant
0 - Left Displays text left of the picture TypeCheckTextAlignLeft
1 - Right (Default) Displays text right of the picture TypeCheckTextAlignRight

To use the TypeCheckTextAlign 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.

The TypeCheckTextAlign property does not have an effect unless the CellType property is set to 10 (Check Box) for the specified cell or cells.

Spread Designer

Choose the Cell menu, the Cell Type menu, the Check Box menu, and then the Settings tab, and then the Text Left of Picture check box in the Cell Type Settings dialog box.

If the Text Left of Picture check box is selected, the TypeCheckTextAlign property is set to 0 (Left). If the check box is cleared, the TypeCheckTextAlign property is set to 1 (Right).

Data Type

Integer (Enumerated)

See Also

Specifying the Text for a Check Box Cell
Displaying Pictures in a Check Box Cell

CellType, Col, Row, Sheet, TypeCheckCenter, TypeCheckText properties

DLL Correspondence

SSSetTypeCheckBox function

Copyright © GrapeCity, inc. All rights reserved.