SSpread.TypeCheckTextAlign Property
In a checkbox cell, set whether the text is placed on the right or left side of the checkbox.
Only valid for cells with $CellTypeCheckBox (checkbox type) set in the CellType property. Before setting this property, use the Col and Row properties, and so on to specify what to do. The initial value is a blank character string.
Specify the following values. The initial value is $TypeCheckTextAlignRight.
| Constant | Value | Description |
|---|---|---|
| $TypeCheckTextAlignLeft | 0 | Placed to the left of the checkbox |
| $TypeCheckTextAlignRight | 1 | Placed to the right of the checkbox |
The position of the text is specified by the TypeCheckText property.
This property is subject to property inheritance for checkbox cells.
Example of usage
Col = 3;
Row = 2;
CellType = $CellTypeCheckBox;
TypeCheckText = "Check1";
TypeCheckTextAlign = $TypeCheckTextAlignRight;
BlockMode = $TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
CellType = $CellTypeCheckBox;
TypeCheckText = "Check2";
TypeCheckTextAlign = $TypeCheckTextAlignLeft;
BlockMode = $FALSE;
Related Items
CellType, TypeCheckTextAlign properties