Defines the vertical alignment of the text.
Get
| C# | SftButtonAlignVertConstants Align = object.TextAlignVert; |
| VB.NET | Align = object.TextAlignVert As SftButtonAlignVertConstants |
| C++ | enum SftButtonAlignVertConstants Align = object->TextAlignVert; enum SftButtonAlignVertConstants Align = object->GetTextAlignVert(); |
| C | HRESULT object->get_TextAlignVert(enum SftButtonAlignVertConstants* Align); |
| VB | Align = object.TextAlignVert As SftButtonAlignVertConstants |
Put
| C# | SftButtonAlignVertConstants object.TextAlignVert = Align; |
| VB.NET | object.TextAlignVert = Align As SftButtonAlignVertConstants |
| C++ | enum SftButtonAlignVertConstants object->TextAlignVert = Align; void object->PutTextAlignVert(enum SftButtonAlignVertConstants Align); |
| C | HRESULT object->put_TextAlignVert(enum SftButtonAlignVertConstants Align); |
| VB | object.TextAlignVert = Align As SftButtonAlignVertConstants |
object
Align
Defines the vertical alignment of the text.
| Name | Value | Description |
|---|---|---|
| alignSftButtonVCenter | 0 | The text is vertically centered within the available space. |
| alignSftButtonTop | 1 | The text is aligned with the top of the available space. |
| alignSftButtonBottom | 2 | The text is aligned with the bottom of the available space. |
The TextAlignVert property defines the vertical alignment of the text.
The layout of the button label and the position and alignment of the text are defined using the Orientation, TextAlignHorz and TextAlignVert properties.
For detailed information on the use of the Orientation, Image1, Image1AlignHorz, Image1AlignVert, Image2, Image2AlignHorz, Image2AlignVert, Text, TextAlignHorz, TextAlignVert properties, please see "Button Label".
See Also SftButton Object | Object Hierarchy