SftBox/OCX 4.5

SftBoxColumn.CellAlign Property

Softel vdm, Inc.

Defines the default horizontal alignment of cell contents in this column.

Deprecated - Provided for compatibility with earlier versions only - Use Column.CellHAlign instead

Syntax       

Get

VB.NET

Align = object.CellAlign  As SftBoxAlignConstants

VB

Align = object.CellAlign  As SftBoxAlignConstants

C#.NET

SftBoxAlignConstants Align = object.CellAlign;

VC++

enum SftBoxAlignConstants Align = object->CellAlign;
enum SftBoxAlignConstants Align = object->GetCellAlign();

C

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

Delphi

Align := object.CellAlign  : TOleEnum;

Put

VB.NET

object.CellAlign = Align  As SftBoxAlignConstants

VB

object.CellAlign = Align  As SftBoxAlignConstants

C#.NET

SftBoxAlignConstants object.CellAlign = Align;

VC++

enum SftBoxAlignConstants object->CellAlign = Align;
void object->PutCellAlign(enum SftBoxAlignConstants Align);

C

HRESULT object->put_CellAlign(enum SftBoxAlignConstants Align);

Delphi

object.CellAlign := Align  : TOleEnum;

object

A SftBoxColumn object.

Align

Defines the text alignment for all cells in this column.

Align

Value

Description

constSftBoxLeft

0

The cell text and graphic component are left aligned.

constSftBoxCenter

1

The cell text and graphic component are centered.

constSftBoxRight

2

The cell text and graphic component are right aligned.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Column.CellHAlign instead

The CellAlign property defines the default horizontal alignment of cell contents in this column.

The alignment applies to all cells in the column specified. Individual cells can override the defined default alignment using the Cell.TextHAlign, Cell.TextVAlign, Cell.ImageHAlign and Cell.ImageVAlign properties.


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