Hide

SftButton/OCX 3.0 - Button Control

Display
Print

Image1AlignVert Property, SftButton Object

Defines the vertical alignment of the first graphic.

Syntax

Get

VB.NETAlign = object.Image1AlignVert As SftButtonAlignVertConstants
VBAlign = object.Image1AlignVert As SftButtonAlignVertConstants
C#.NETSftButtonAlignVertConstants Align = object.Image1AlignVert;
VC++enum SftButtonAlignVertConstants Align = object->Image1AlignVert;
enum SftButtonAlignVertConstants Align = object->GetImage1AlignVert();
CHRESULT object->get_Image1AlignVert(enum SftButtonAlignVertConstants* Align);

Put

VB.NETobject.Image1AlignVert = Align As SftButtonAlignVertConstants
VBobject.Image1AlignVert = Align As SftButtonAlignVertConstants
C#.NETSftButtonAlignVertConstants object.Image1AlignVert = Align;
VC++enum SftButtonAlignVertConstants object->Image1AlignVert = Align;
void object->PutImage1AlignVert(enum SftButtonAlignVertConstants Align);
CHRESULT object->put_Image1AlignVert(enum SftButtonAlignVertConstants Align);

object

A SftButton object.

Align

Defines the vertical alignment of the first 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 Image1AlignVert property defines the vertical 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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.