HeaderPane
Main
Hide
Share Link
Print

SftBoxCell.TextAlign Property

Defines the cell text alignment.

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

Syntax

Get

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

Put

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

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 11/03/2026 - (email)
© 2026 Softel vdm, Inc.