SftButton/OCX 2.5

SftButton.Image1AlignHorz Property

Softel vdm, Inc.

Defines the horizontal alignment of the first graphic.

Syntax       

Get

VB.NET

Align = object.Image1AlignHorz  As SftButtonAlignConstants

VB

Align = object.Image1AlignHorz  As SftButtonAlignConstants

C#.NET

SftButtonAlignConstants Align = object.Image1AlignHorz;

VC++

enum SftButtonAlignConstants Align = object->Image1AlignHorz;
enum SftButtonAlignConstants Align = object->GetImage1AlignHorz();

C

HRESULT object->get_Image1AlignHorz(enum SftButtonAlignConstants* Align);

Delphi

Align := object.Image1AlignHorz  : TOleEnum;

Put

VB.NET

object.Image1AlignHorz = Align  As SftButtonAlignConstants

VB

object.Image1AlignHorz = Align  As SftButtonAlignConstants

C#.NET

SftButtonAlignConstants object.Image1AlignHorz = Align;

VC++

enum SftButtonAlignConstants object->Image1AlignHorz = Align;
void object->PutImage1AlignHorz(enum SftButtonAlignConstants Align);

C

HRESULT object->put_Image1AlignHorz(enum SftButtonAlignConstants Align);

Delphi

object.Image1AlignHorz := Align  : TOleEnum;

object

A SftButton object.

Align

Defines the horizontal alignment of the first graphic.

Name

Value

Description

alignSftButtonCenter

0

The picture component is horizontally centered within the available space.

alignSftButtonLeft

1

The picture component is left aligned within the available space.

alignSftButtonRight

2

The picture component is right aligned within the available space.

Comments

The Image1AlignHorz property defines the horizontal 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".


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com