SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftTree/NET 2.0 - Tree Control
Defines the horizontal alignment of the text.
Get
| VB.NET | Align = object.TextAlignHorz As SftButtonAlignConstants |
| VB | Align = object.TextAlignHorz As SftButtonAlignConstants |
| C#.NET | SftButtonAlignConstants Align = object.TextAlignHorz; |
| VC++ | enum SftButtonAlignConstants Align = object->TextAlignHorz; enum SftButtonAlignConstants Align = object->GetTextAlignHorz(); |
| C | HRESULT object->get_TextAlignHorz(enum SftButtonAlignConstants* Align); |
Put
| VB.NET | object.TextAlignHorz = Align As SftButtonAlignConstants |
| VB | object.TextAlignHorz = Align As SftButtonAlignConstants |
| C#.NET | SftButtonAlignConstants object.TextAlignHorz = Align; |
| VC++ | enum SftButtonAlignConstants object->TextAlignHorz = Align; void object->PutTextAlignHorz(enum SftButtonAlignConstants Align); |
| C | HRESULT object->put_TextAlignHorz(enum SftButtonAlignConstants Align); |
object
Align
Defines the horizontal alignment of the text.
| Name | Value | Description |
|---|---|---|
| alignSftButtonCenter | 0 | The text is horizontally centered within the available space. |
| alignSftButtonLeft | 1 | The text is left aligned within the available space. |
| alignSftButtonRight | 2 | The text is right aligned within the available space. |
The TextAlignHorz property defines the horizontal 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
