Hide

SftButton/OCX 3.0 - Button Control

Display
Print

Picture2AlignHorz Property, SftButton Object

Defines the horizontal alignment of the second graphic.

Deprecated - Provided for compatibility with earlier versions only - Use the Image2AlignHorz property instead

Syntax

Get

VB.NETAlign = object.Picture2AlignHorz As SftButtonAlignConstants
VBAlign = object.Picture2AlignHorz As SftButtonAlignConstants
C#.NETSftButtonAlignConstants Align = object.Picture2AlignHorz;
VC++enum SftButtonAlignConstants Align = object->Picture2AlignHorz;
enum SftButtonAlignConstants Align = object->GetPicture2AlignHorz();
CHRESULT object->get_Picture2AlignHorz(enum SftButtonAlignConstants* Align);

Put

VB.NETobject.Picture2AlignHorz = Align As SftButtonAlignConstants
VBobject.Picture2AlignHorz = Align As SftButtonAlignConstants
C#.NETSftButtonAlignConstants object.Picture2AlignHorz = Align;
VC++enum SftButtonAlignConstants object->Picture2AlignHorz = Align;
void object->PutPicture2AlignHorz(enum SftButtonAlignConstants Align);
CHRESULT object->put_Picture2AlignHorz(enum SftButtonAlignConstants Align);

object

A SftButton object.

Align

Defines the horizontal alignment of the second graphic.

NameValueDescription
alignSftButtonCenter0The picture component is horizontally centered within the available space.
alignSftButtonLeft1The picture component is left aligned within the available space.
alignSftButtonRight2The picture component is right aligned within the available space.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use the Image2AlignHorz property instead

The Picture2AlignHorz property defines the horizontal alignment of the second 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.