SftButton/OCX 2.5

SftButton.Image2AlignVert Property

Softel vdm, Inc.

Defines the vertical alignment of the second graphic.

Syntax       

Get

VB.NET

Align = object.Image2AlignVert  As SftButtonAlignVertConstants

VB

Align = object.Image2AlignVert  As SftButtonAlignVertConstants

C#.NET

SftButtonAlignVertConstants Align = object.Image2AlignVert;

VC++

enum SftButtonAlignVertConstants Align = object->Image2AlignVert;
enum SftButtonAlignVertConstants Align = object->GetImage2AlignVert();

C

HRESULT object->get_Image2AlignVert(enum SftButtonAlignVertConstants* Align);

Delphi

Align := object.Image2AlignVert  : TOleEnum;

Put

VB.NET

object.Image2AlignVert = Align  As SftButtonAlignVertConstants

VB

object.Image2AlignVert = Align  As SftButtonAlignVertConstants

C#.NET

SftButtonAlignVertConstants object.Image2AlignVert = Align;

VC++

enum SftButtonAlignVertConstants object->Image2AlignVert = Align;
void object->PutImage2AlignVert(enum SftButtonAlignVertConstants Align);

C

HRESULT object->put_Image2AlignVert(enum SftButtonAlignVertConstants Align);

Delphi

object.Image2AlignVert := Align  : TOleEnum;

object

A SftButton object.

Align

Defines the vertical alignment of the second graphic.

Name

Value

Description

alignSftButtonVCenter

0

The picture component is vertically centered within the available space.

alignSftButtonTop

1

The picture component is aligned with the top of the available space.

alignSftButtonBottom

2

The 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".


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