Defines the vertical alignment of the text in this row header.
Get
| C# | SftBoxVAlignDefaultConstants Style = object.TextVAlign; |
| VB.NET | Style = object.TextVAlign As SftBoxVAlignDefaultConstants |
| C++ | enum SftBoxVAlignDefaultConstants Style = object->TextVAlign; enum SftBoxVAlignDefaultConstants Style = object->GetTextVAlign(); |
| C | HRESULT object->get_TextVAlign(enum SftBoxVAlignDefaultConstants* Style); |
| VB | Style = object.TextVAlign As SftBoxVAlignDefaultConstants |
Put
| C# | SftBoxVAlignDefaultConstants object.TextVAlign = Style; |
| VB.NET | object.TextVAlign = Style As SftBoxVAlignDefaultConstants |
| C++ | enum SftBoxVAlignDefaultConstants object->TextVAlign = Style; void object->PutTextVAlign(enum SftBoxVAlignDefaultConstants Style); |
| C | HRESULT object->put_TextVAlign(enum SftBoxVAlignDefaultConstants Style); |
| VB | object.TextVAlign = Style As SftBoxVAlignDefaultConstants |
object
Style
Defines the vertical alignment of the text in this row header.
| Name | Value | Description |
|---|---|---|
| valignSftBoxDefault | -1 | The text is aligned as defined using the default settings for all row headers (see RowHeaders.TextVAlign). |
| valignSftBoxDefaultCenter | 0 | The text is vertically centered. |
| valignSftBoxDefaultTop | 1 | The text is aligned with the top of the available area. |
| valignSftBoxDefaultBottom | 2 | The text is aligned with the bottom of the available area. |
The TextVAlign property defines the vertical 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