SftBox/OCX 4.5

SftBoxCell.TextAlign Property

Softel vdm, Inc.

Defines the cell text alignment.

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

Syntax       

Get

VB.NET

Align = object.TextAlign  As SftBoxAlignConstants

VB

Align = object.TextAlign  As SftBoxAlignConstants

C#.NET

SftBoxAlignConstants Align = object.TextAlign;

VC++

enum SftBoxAlignConstants Align = object->TextAlign;
enum SftBoxAlignConstants Align = object->GetTextAlign();

C

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

Delphi

Align := object.TextAlign  : TOleEnum;

Put

VB.NET

object.TextAlign = Align  As SftBoxAlignConstants

VB

object.TextAlign = Align  As SftBoxAlignConstants

C#.NET

SftBoxAlignConstants object.TextAlign = Align;

VC++

enum SftBoxAlignConstants object->TextAlign = Align;
void object->PutTextAlign(enum SftBoxAlignConstants Align);

C

HRESULT object->put_TextAlign(enum SftBoxAlignConstants Align);

Delphi

object.TextAlign := Align  : TOleEnum;

object

A SftBoxCell object.

Align

Defines the cell text alignment.

Align

Value

Description

constSftBoxLeft

0

The cell text is left aligned.

constSftBoxCenter

1

The cell text is centered.

constSftBoxRight

2

The cell text is right aligned.

Comments

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

The TextAlign property defines the cell text alignment.

The Cell.TextVAlign property is used to define the vertical alignment of the text in this cell.

The Cell.TextHAlign property determines the position of the cell text and graphic, defined using the Cell.Text and Cell.Image properties. It overrides the column's default alignment defined using the Column.CellHAlign property.


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