SftButton/OCX 2.5

SftButton.Orientation Property

Softel vdm, Inc.

Defines the text and picture orientation.

Syntax       

Get

VB.NET

Orientation = object.Orientation  As SftButtonOrientationConstants

VB

Orientation = object.Orientation  As SftButtonOrientationConstants

C#.NET

SftButtonOrientationConstants Orientation = object.Orientation;

VC++

enum SftButtonOrientationConstants Orientation = object->Orientation;
enum SftButtonOrientationConstants Orientation = object->GetOrientation();

C

HRESULT object->get_Orientation(enum SftButtonOrientationConstants* Orientation);

Delphi

Orientation := object.Orientation  : TOleEnum;

Put

VB.NET

object.Orientation = Orientation  As SftButtonOrientationConstants

VB

object.Orientation = Orientation  As SftButtonOrientationConstants

C#.NET

SftButtonOrientationConstants object.Orientation = Orientation;

VC++

enum SftButtonOrientationConstants object->Orientation = Orientation;
void object->PutOrientation(enum SftButtonOrientationConstants Orientation);

C

HRESULT object->put_Orientation(enum SftButtonOrientationConstants Orientation);

Delphi

object.Orientation := Orientation  : TOleEnum;

object

A SftButton object.

Orientation

Defines the text and picture orientation.

Name

Value

Description

orientationSftButtonHorizontal

0

Text and picture components are positioned horizontally (left to right).

orientationSftButtonVertical

1

Text and picture components are positioned vertically (top to bottom).

Comments

The Orientation property defines the text and picture orientation.

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