SftBox/OCX 4.5

SftBoxHeader.Align Property

Softel vdm, Inc.

Defines the header's text alignment.

Deprecated - Provided for compatibility with earlier versions only - Use Header.TextHAlign instead

Syntax       

Get

VB.NET

Align = object.Align  As SftBoxAlignConstants

VB

Align = object.Align  As SftBoxAlignConstants

C#.NET

SftBoxAlignConstants Align = object.Align;

VC++

enum SftBoxAlignConstants Align = object->Align;
enum SftBoxAlignConstants Align = object->GetAlign();

C

HRESULT object->get_Align(enum SftBoxAlignConstants* Align);

Delphi

Align := object.Align  : TOleEnum;

Put

VB.NET

object.Align = Align  As SftBoxAlignConstants

VB

object.Align = Align  As SftBoxAlignConstants

C#.NET

SftBoxAlignConstants object.Align = Align;

VC++

enum SftBoxAlignConstants object->Align = Align;
void object->PutAlign(enum SftBoxAlignConstants Align);

C

HRESULT object->put_Align(enum SftBoxAlignConstants Align);

Delphi

object.Align := Align  : TOleEnum;

object

A SftBoxHeader object.

Align

Defines the text alignment of the header described by object.

Align

Value

Description

constSftBoxLeft

0

The column header graphic is left aligned.

constSftBoxCenter 

1

The column header graphic is centered.

constSftBoxRight

2

The column header graphic is right aligned.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Header.TextHAlign instead

The Align property defines the header's text alignment.

The Header.ImageHAlign and Header.ImageVAlign properties are used to align the column header graphic component.


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