Defines the horizontal alignment of the first graphic.
Deprecated - Provided for compatibility with earlier versions only - Use the Image1AlignHorz property instead
Get
| C# | SftButtonAlignConstants Align = object.Picture1AlignHorz; |
| VB.NET | Align = object.Picture1AlignHorz As SftButtonAlignConstants |
| C++ | enum SftButtonAlignConstants Align = object->Picture1AlignHorz; enum SftButtonAlignConstants Align = object->GetPicture1AlignHorz(); |
| C | HRESULT object->get_Picture1AlignHorz(enum SftButtonAlignConstants* Align); |
| VB | Align = object.Picture1AlignHorz As SftButtonAlignConstants |
Put
| C# | SftButtonAlignConstants object.Picture1AlignHorz = Align; |
| VB.NET | object.Picture1AlignHorz = Align As SftButtonAlignConstants |
| C++ | enum SftButtonAlignConstants object->Picture1AlignHorz = Align; void object->PutPicture1AlignHorz(enum SftButtonAlignConstants Align); |
| C | HRESULT object->put_Picture1AlignHorz(enum SftButtonAlignConstants Align); |
| VB | object.Picture1AlignHorz = Align As SftButtonAlignConstants |
object
Align
Defines the horizontal alignment of the first graphic.
| Name | Value | Description |
|---|---|---|
| alignSftButtonCenter | 0 | The picture component is horizontally centered within the available space. |
| alignSftButtonLeft | 1 | The picture component is left aligned within the available space. |
| alignSftButtonRight | 2 | The picture component is right aligned within the available space. |
Deprecated - Provided for compatibility with earlier versions only - Use the Image1AlignHorz property instead
The Picture1AlignHorz property defines the horizontal alignment of the first graphic.
The layout of the button label and the position and alignment of the first picture component are defined using the Orientation, Image1AlignHorz and Image1AlignVert 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