|
|
|
SftTreeHeader.TextHAlign Property |
Defines the horizontal alignment of the text in this column header.
Syntax
VB.NET |
Style = object.TextHAlign As SftTreeHAlignConstants |
||
VB |
Style = object.TextHAlign As SftTreeHAlignConstants |
||
C#.NET |
SftTreeHAlignConstants Style = object.TextHAlign; |
||
VC++ |
enum SftTreeHAlignConstants Style = object->TextHAlign;
|
||
C |
HRESULT object->get_TextHAlign(enum SftTreeHAlignConstants* Style); |
||
Delphi |
Style := object.TextHAlign : TOleEnum; |
||
VB.NET |
object.TextHAlign = Style As SftTreeHAlignConstants |
||
VB |
object.TextHAlign = Style As SftTreeHAlignConstants |
||
C#.NET |
SftTreeHAlignConstants object.TextHAlign = Style; |
||
VC++ |
enum SftTreeHAlignConstants object->TextHAlign = Style;
|
||
C |
HRESULT object->put_TextHAlign(enum SftTreeHAlignConstants Style); |
||
Delphi |
object.TextHAlign := Style : TOleEnum; |
object
A SftTreeHeader object.
Style
Defines the horizontal alignment of the text in this column header.
Name |
Value |
Description |
0 |
The text and graphic component are left aligned. |
|
1 |
The text and graphic component are centered. |
|
2 |
The text and graphic component are right aligned. |
Comments
The TextHAlign property defines the horizontal alignment of the text in this column header.
To change the default alignment of cell text use the Column.CellHAlign and Column.CellVAlign properties instead.
The Headers.Multiline property can be used to enable multi-line column header text.
See Also SftTreeHeader Object | Object Hierarchy