SftButton/OCX 2.5

SftButton.Picture1AlignVert Property

Softel vdm, Inc.

Defines the vertical alignment of the first graphic.

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

Syntax       

Get

VB.NET

Align = object.Picture1AlignVert  As SftButtonAlignVertConstants

VB

Align = object.Picture1AlignVert  As SftButtonAlignVertConstants

C#.NET

SftButtonAlignVertConstants Align = object.Picture1AlignVert;

VC++

enum SftButtonAlignVertConstants Align = object->Picture1AlignVert;
enum SftButtonAlignVertConstants Align = object->GetPicture1AlignVert();

C

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

Delphi

Align := object.Picture1AlignVert  : TOleEnum;

Put

VB.NET

object.Picture1AlignVert = Align  As SftButtonAlignVertConstants

VB

object.Picture1AlignVert = Align  As SftButtonAlignVertConstants

C#.NET

SftButtonAlignVertConstants object.Picture1AlignVert = Align;

VC++

enum SftButtonAlignVertConstants object->Picture1AlignVert = Align;
void object->PutPicture1AlignVert(enum SftButtonAlignVertConstants Align);

C

HRESULT object->put_Picture1AlignVert(enum SftButtonAlignVertConstants Align);

Delphi

object.Picture1AlignVert := Align  : TOleEnum;

object

A SftButton object.

Align

Defines the horizontal alignment of the first 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

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

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


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