Defines the text and picture orientation.
Get
| C# | SftButtonOrientationConstants Orientation = object.Orientation; |
| VB.NET | Orientation = object.Orientation As SftButtonOrientationConstants |
| C++ | enum SftButtonOrientationConstants Orientation = object->Orientation; enum SftButtonOrientationConstants Orientation = object->GetOrientation(); |
| C | HRESULT object->get_Orientation(enum SftButtonOrientationConstants* Orientation); |
| VB | Orientation = object.Orientation As SftButtonOrientationConstants |
Put
| C# | SftButtonOrientationConstants object.Orientation = Orientation; |
| VB.NET | object.Orientation = Orientation As SftButtonOrientationConstants |
| C++ | enum SftButtonOrientationConstants object->Orientation = Orientation; void object->PutOrientation(enum SftButtonOrientationConstants Orientation); |
| C | HRESULT object->put_Orientation(enum SftButtonOrientationConstants Orientation); |
| VB | object.Orientation = Orientation As SftButtonOrientationConstants |
object
Orientation
Defines the text and picture orientation.
| Name | Value | Description |
|---|---|---|
| orientationSftButtonHorizontal | 0 | Text and picture components are positioned horizontally (left to right). ![]() |
| orientationSftButtonVertical | 1 | Text and picture components are positioned vertically (top to bottom). ![]() |
The Orientation property defines the text and picture orientation.
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