HeaderPane
Main
Hide
Share Link
Print

TextAlignVert Property, SftButton Object

Defines the vertical alignment of the text.

Syntax

Get

C#SftButtonAlignVertConstants Align = object.TextAlignVert;
VB.NETAlign = object.TextAlignVert As SftButtonAlignVertConstants
C++enum SftButtonAlignVertConstants Align = object->TextAlignVert;
enum SftButtonAlignVertConstants Align = object->GetTextAlignVert();
CHRESULT object->get_TextAlignVert(enum SftButtonAlignVertConstants* Align);
VBAlign = object.TextAlignVert As SftButtonAlignVertConstants

Put

C#SftButtonAlignVertConstants object.TextAlignVert = Align;
VB.NETobject.TextAlignVert = Align As SftButtonAlignVertConstants
C++enum SftButtonAlignVertConstants object->TextAlignVert = Align;
void object->PutTextAlignVert(enum SftButtonAlignVertConstants Align);
CHRESULT object->put_TextAlignVert(enum SftButtonAlignVertConstants Align);
VBobject.TextAlignVert = Align As SftButtonAlignVertConstants

object

A SftButton object.

Align

Defines the vertical alignment of the text.

NameValueDescription
alignSftButtonVCenter0The text is vertically centered within the available space.
alignSftButtonTop1The text is aligned with the top of the available space.
alignSftButtonBottom2The text is aligned with the bottom of the available space.

Comments

The TextAlignVert property defines the vertical 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


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.