HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

Orientation Property, SftButton Object

Defines the text and picture orientation.

Syntax

Get

VB.NETOrientation = object.Orientation As SftButtonOrientationConstants
VBOrientation = object.Orientation As SftButtonOrientationConstants
C#.NETSftButtonOrientationConstants Orientation = object.Orientation;
VC++enum SftButtonOrientationConstants Orientation = object->Orientation;
enum SftButtonOrientationConstants Orientation = object->GetOrientation();
CHRESULT object->get_Orientation(enum SftButtonOrientationConstants* Orientation);

Put

VB.NETobject.Orientation = Orientation As SftButtonOrientationConstants
VBobject.Orientation = Orientation As SftButtonOrientationConstants
C#.NETSftButtonOrientationConstants object.Orientation = Orientation;
VC++enum SftButtonOrientationConstants object->Orientation = Orientation;
void object->PutOrientation(enum SftButtonOrientationConstants Orientation);
CHRESULT object->put_Orientation(enum SftButtonOrientationConstants Orientation);

object

A SftButton object.

Orientation

Defines the text and picture orientation.

NameValueDescription
orientationSftButtonHorizontal0Text and picture components are positioned horizontally (left to right).
orientationSftButtonVertical1Text and picture components are positioned vertically (top to bottom).

Comments

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


Last Updated 08/23/2026 - (email)
© 2026 Softel vdm, Inc.