SftBox/OCX 4.5

SftBoxRowHeaders.Align Property

Softel vdm, Inc.

Defines the text alignment for all row headers.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.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 SftBoxRowHeaders object.

Align

Defines the text alignment for all row headers.

Name

Value

Description

constSftBoxLeft

0

The row header text and/or graphic component are left aligned.

constSftBoxCenter

1

The row header text and/or graphic component are centered.

constSftBoxRight

2

The row header text and/or graphic component are right aligned.

Comments

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

The Align property defines the text alignment for all row headers.

Individual row headers can override the default text alignment using the RowHeader.TextHAlign property.

The RowHeaders.TextVAlign property can be used to define the default vertical alignment of text in all row headers.


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