|
|
|
SftButton.TextAlignHorz Property |
Defines the horizontal alignment of the text.
Syntax
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;
|
||
C |
HRESULT object->get_TextAlignHorz(enum SftButtonAlignConstants* Align); |
||
Delphi |
Align := object.TextAlignHorz : TOleEnum; |
||
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;
|
||
C |
HRESULT object->put_TextAlignHorz(enum SftButtonAlignConstants Align); |
||
Delphi |
object.TextAlignHorz := Align : TOleEnum; |
object
A SftButton object.
Align
Defines the horizontal alignment of the text.
Name |
Value |
Description |
0 |
The text is horizontally centered within the available space. |
|
1 |
The text is left aligned within the available space. |
|
2 |
The text is right aligned within the available space. |
Comments
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".