Hide

SftButton/OCX 3.0 - Button Control

Display
Print

Image2AlignVert Property, SftButton Object

Defines the vertical alignment of the second graphic.

Syntax

Get

VB.NETAlign = object.Image2AlignVert As SftButtonAlignVertConstants
VBAlign = object.Image2AlignVert As SftButtonAlignVertConstants
C#.NETSftButtonAlignVertConstants Align = object.Image2AlignVert;
VC++enum SftButtonAlignVertConstants Align = object->Image2AlignVert;
enum SftButtonAlignVertConstants Align = object->GetImage2AlignVert();
CHRESULT object->get_Image2AlignVert(enum SftButtonAlignVertConstants* Align);

Put

VB.NETobject.Image2AlignVert = Align As SftButtonAlignVertConstants
VBobject.Image2AlignVert = Align As SftButtonAlignVertConstants
C#.NETSftButtonAlignVertConstants object.Image2AlignVert = Align;
VC++enum SftButtonAlignVertConstants object->Image2AlignVert = Align;
void object->PutImage2AlignVert(enum SftButtonAlignVertConstants Align);
CHRESULT object->put_Image2AlignVert(enum SftButtonAlignVertConstants Align);

object

A SftButton object.

Align

Defines the vertical alignment of the second graphic.

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

Comments

The Image2AlignVert property defines the vertical alignment of the second graphic.

The layout of the button label and the position and alignment of the second picture component are defined using the Orientation, Image2AlignHorz and Image2AlignVert 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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.