SftBox/OCX 4.5

SftBoxColumn.CellHAlign Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Style = object.CellHAlign  As SftBoxHAlignConstants

VB

Style = object.CellHAlign  As SftBoxHAlignConstants

C#.NET

SftBoxHAlignConstants Style = object.CellHAlign;

VC++

enum SftBoxHAlignConstants Style = object->CellHAlign;
enum SftBoxHAlignConstants Style = object->GetCellHAlign();

C

HRESULT object->get_CellHAlign(enum SftBoxHAlignConstants* Style);

Delphi

Style := object.CellHAlign  : TOleEnum;

Put

VB.NET

object.CellHAlign = Style  As SftBoxHAlignConstants

VB

object.CellHAlign = Style  As SftBoxHAlignConstants

C#.NET

SftBoxHAlignConstants object.CellHAlign = Style;

VC++

enum SftBoxHAlignConstants object->CellHAlign = Style;
void object->PutCellHAlign(enum SftBoxHAlignConstants Style);

C

HRESULT object->put_CellHAlign(enum SftBoxHAlignConstants Style);

Delphi

object.CellHAlign := Style  : TOleEnum;

object

A SftBoxColumn object.

Style

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

Name

Value

Description

halignSftBoxLeft

0

The text and graphic component are left aligned.

halignSftBoxCenter

1

The text and graphic component are centered.

halignSftBoxRight

2

The text and graphic component are right aligned.

Comments

The CellHAlign 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