|
|
|
SftBoxCell.TextHAlign Property |
Defines the horizontal alignment of the text in this cell.
Syntax
VB.NET |
Style = object.TextHAlign As SftBoxHAlignDefaultConstants |
||
VB |
Style = object.TextHAlign As SftBoxHAlignDefaultConstants |
||
C#.NET |
SftBoxHAlignDefaultConstants Style = object.TextHAlign; |
||
VC++ |
enum SftBoxHAlignDefaultConstants Style = object->TextHAlign;
|
||
C |
HRESULT object->get_TextHAlign(enum SftBoxHAlignDefaultConstants* Style); |
||
Delphi |
Style := object.TextHAlign : TOleEnum; |
||
VB.NET |
object.TextHAlign = Style As SftBoxHAlignDefaultConstants |
||
VB |
object.TextHAlign = Style As SftBoxHAlignDefaultConstants |
||
C#.NET |
SftBoxHAlignDefaultConstants object.TextHAlign = Style; |
||
VC++ |
enum SftBoxHAlignDefaultConstants object->TextHAlign = Style;
|
||
C |
HRESULT object->put_TextHAlign(enum SftBoxHAlignDefaultConstants Style); |
||
Delphi |
object.TextHAlign := Style : TOleEnum; |
object
A SftBoxCell object.
Style
Defines the horizontal alignment of the text in this cell.
Name |
Value |
Description |
-1 |
The text is aligned as defined using the default settings for this cell's column (see Column.CellHAlign). |
|
0 |
The cell text is left aligned. |
|
1 |
The cell text is centered in the cell. |
|
2 |
The cell text is right aligned. |
Comments
The TextHAlign property defines the horizontal alignment of the text in this cell.
The Cell.TextVAlign property is used to define the vertical alignment of the text in this cell.
The TextHAlign property determines the position of the cell text and graphic, defined using the Cell.Text and Cell.Image properties. It overrides the column's default alignment defined using the Column.CellHAlign property.