SftButton/OCX 2.5

SftButton.TextAlignVert Property

Softel vdm, Inc.

Defines the vertical alignment of the text.

Syntax       

Get

VB.NET

Align = object.TextAlignVert  As SftButtonAlignVertConstants

VB

Align = object.TextAlignVert  As SftButtonAlignVertConstants

C#.NET

SftButtonAlignVertConstants Align = object.TextAlignVert;

VC++

enum SftButtonAlignVertConstants Align = object->TextAlignVert;
enum SftButtonAlignVertConstants Align = object->GetTextAlignVert();

C

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

Delphi

Align := object.TextAlignVert  : TOleEnum;

Put

VB.NET

object.TextAlignVert = Align  As SftButtonAlignVertConstants

VB

object.TextAlignVert = Align  As SftButtonAlignVertConstants

C#.NET

SftButtonAlignVertConstants object.TextAlignVert = Align;

VC++

enum SftButtonAlignVertConstants object->TextAlignVert = Align;
void object->PutTextAlignVert(enum SftButtonAlignVertConstants Align);

C

HRESULT object->put_TextAlignVert(enum SftButtonAlignVertConstants Align);

Delphi

object.TextAlignVert := Align  : TOleEnum;

object

A SftButton object.

Align

Defines the vertical alignment of the text.

Name

Value

Description

alignSftButtonVCenter

0

The text is vertically centered within the available space.

alignSftButtonTop

1

The text is aligned with the top of the available space.

alignSftButtonBottom

2

The text is aligned with the bottom of the available space.

Comments

The TextAlignVert property defines the vertical alignment of the text.

The layout of the button label and the position and alignment of the text are defined using the Orientation, TextAlignHorz and TextAlignVert 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