SftButton/OCX 2.5

SftButton.FillOrientation Property

Softel vdm, Inc.

Defines the gradient fill orientation.

Syntax       

Get

VB.NET

FillOrientation = object.FillOrientation  As SftButtonOrientationConstants

VB

FillOrientation = object.FillOrientation  As SftButtonOrientationConstants

C#.NET

SftButtonOrientationConstants FillOrientation = object.FillOrientation;

VC++

enum SftButtonOrientationConstants FillOrientation = object->FillOrientation;
enum SftButtonOrientationConstants FillOrientation = object->GetFillOrientation();

C

HRESULT object->get_FillOrientation(enum SftButtonOrientationConstants* FillOrientation);

Delphi

FillOrientation := object.FillOrientation  : TOleEnum;

Put

VB.NET

object.FillOrientation = FillOrientation  As SftButtonOrientationConstants

VB

object.FillOrientation = FillOrientation  As SftButtonOrientationConstants

C#.NET

SftButtonOrientationConstants object.FillOrientation = FillOrientation;

VC++

enum SftButtonOrientationConstants object->FillOrientation = FillOrientation;
void object->PutFillOrientation(enum SftButtonOrientationConstants FillOrientation);

C

HRESULT object->put_FillOrientation(enum SftButtonOrientationConstants FillOrientation);

Delphi

object.FillOrientation := FillOrientation  : TOleEnum;

object

A SftButton object.

FillOrientation

Defines the gradient fill orientation.

Name

Value

Description

orientationSftButtonHorizontal

0

Horizontal - Areas are filled horizontally, left to right.

orientationSftButtonVertical

1

Vertical - Areas are filled vertically, top to bottom.

Comments

The FillOrientation property defines the gradient fill orientation.


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