Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxCell.TextAlign Property

Defines the cell text alignment.

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

Syntax

Get

VB.NETAlign = object.TextAlign As SftBoxAlignConstants
VBAlign = object.TextAlign As SftBoxAlignConstants
C#.NETSftBoxAlignConstants Align = object.TextAlign;
VC++enum SftBoxAlignConstants Align = object->TextAlign;
enum SftBoxAlignConstants Align = object->GetTextAlign();
CHRESULT object->get_TextAlign(enum SftBoxAlignConstants* Align);

Put

VB.NETobject.TextAlign = Align As SftBoxAlignConstants
VBobject.TextAlign = Align As SftBoxAlignConstants
C#.NETSftBoxAlignConstants object.TextAlign = Align;
VC++enum SftBoxAlignConstants object->TextAlign = Align;
void object->PutTextAlign(enum SftBoxAlignConstants Align);
CHRESULT object->put_TextAlign(enum SftBoxAlignConstants Align);

object

A SftBoxCell object.

Align

Defines the cell text alignment.

AlignValueDescription
constSftBoxLeft0The cell text is left aligned.
constSftBoxCenter1The cell text is centered.
constSftBoxRight2The 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.

See Also SftBoxCell Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.