Defines the horizontal alignment of the text in this row header.
Get
| C# | SftBoxHAlignDefaultConstants Style = object.TextHAlign; |
| VB.NET | Style = object.TextHAlign As SftBoxHAlignDefaultConstants |
| C++ | enum SftBoxHAlignDefaultConstants Style = object->TextHAlign; enum SftBoxHAlignDefaultConstants Style = object->GetTextHAlign(); |
| C | HRESULT object->get_TextHAlign(enum SftBoxHAlignDefaultConstants* Style); |
| VB | Style = object.TextHAlign As SftBoxHAlignDefaultConstants |
Put
| C# | SftBoxHAlignDefaultConstants object.TextHAlign = Style; |
| VB.NET | object.TextHAlign = Style As SftBoxHAlignDefaultConstants |
| C++ | enum SftBoxHAlignDefaultConstants object->TextHAlign = Style; void object->PutTextHAlign(enum SftBoxHAlignDefaultConstants Style); |
| C | HRESULT object->put_TextHAlign(enum SftBoxHAlignDefaultConstants Style); |
| VB | object.TextHAlign = Style As SftBoxHAlignDefaultConstants |
object
Style
Defines the horizontal alignment of the text in this row header.
| Name | Value | Description |
|---|---|---|
| halignSftBoxDefault | -1 | The text and graphic component are aligned as defined using the default settings for row headers (see RowHeaders.TextHAlign). |
| halignSftBoxDefaultLeft | 0 | The row header text and graphic component are left aligned. |
| halignSftBoxDefaultCenter | 1 | The row header text and graphic component are centered in the cell. |
| halignSftBoxDefaultRight | 2 | The row header text and graphic component are right aligned. |
The TextHAlign property defines the horizontal alignment of the text in this row header.
Row header text and graphics are defined using the RowHeader.Text and RowHeader.Image properties.
The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.
See Also SftBoxRowHeader Object | Object Hierarchy