SftBox/OCX 4.5

SftBoxRowHeader.TextHAlign Property

Softel vdm, Inc.

Defines the horizontal alignment of the text in this row header.

Syntax       

Get

VB.NET

Style = object.TextHAlign  As SftBoxHAlignDefaultConstants

VB

Style = object.TextHAlign  As SftBoxHAlignDefaultConstants

C#.NET

SftBoxHAlignDefaultConstants Style = object.TextHAlign;

VC++

enum SftBoxHAlignDefaultConstants Style = object->TextHAlign;
enum SftBoxHAlignDefaultConstants Style = object->GetTextHAlign();

C

HRESULT object->get_TextHAlign(enum SftBoxHAlignDefaultConstants* Style);

Delphi

Style := object.TextHAlign  : TOleEnum;

Put

VB.NET

object.TextHAlign = Style  As SftBoxHAlignDefaultConstants

VB

object.TextHAlign = Style  As SftBoxHAlignDefaultConstants

C#.NET

SftBoxHAlignDefaultConstants object.TextHAlign = Style;

VC++

enum SftBoxHAlignDefaultConstants object->TextHAlign = Style;
void object->PutTextHAlign(enum SftBoxHAlignDefaultConstants Style);

C

HRESULT object->put_TextHAlign(enum SftBoxHAlignDefaultConstants Style);

Delphi

object.TextHAlign := Style  : TOleEnum;

object

A SftBoxRowHeader object.

Style

Defines the horizontal alignment of the text in this row header.

Name

Value

Description

halignSftBoxDefault

-1

The text and graphic component are aligned as defined using the default settings for row headers (see RowHeaders.TextHAlign).

halignSftBoxDefaultLeft

0

The row header text and graphic component are left aligned.

halignSftBoxDefaultCenter

1

The row header text and graphic component are centered in the cell.

halignSftBoxDefaultRight

2

The row header text and graphic component are right aligned.

Comments

The TextHAlign property defines the horizontal alignment of the text in this row header.

Row header text and graphics are defined using the RowHeader.Text and RowHeader.Image properties.

The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.


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