SftBox/OCX 4.5

SftBoxRowColumnHeader.TextHAlign Property

Softel vdm, Inc.

Defines the horizontal alignment of the text in the row/column header.

Syntax       

Get

VB.NET

Style = object.TextHAlign  As SftBoxHAlignConstants

VB

Style = object.TextHAlign  As SftBoxHAlignConstants

C#.NET

SftBoxHAlignConstants Style = object.TextHAlign;

VC++

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

C

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

Delphi

Style := object.TextHAlign  : TOleEnum;

Put

VB.NET

object.TextHAlign = Style  As SftBoxHAlignConstants

VB

object.TextHAlign = Style  As SftBoxHAlignConstants

C#.NET

SftBoxHAlignConstants object.TextHAlign = Style;

VC++

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

C

HRESULT object->put_TextHAlign(enum SftBoxHAlignConstants Style);

Delphi

object.TextHAlign := Style  : TOleEnum;

object

A SftBoxRowColumnHeader object.

Style

Defines the horizontal alignment of the text in the row/column header.

Name

Value

Description

halignSftBoxLeft

0

The row/column header text and/or graphic component are left aligned.

halignSftBoxCenter

1

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

halignSftBoxRight

2

The row/column header text and/or graphic component are right aligned.

Comments

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

The RowColumnHeader.TextVAlign property is used to define the vertical alignment of the text in the row/column header. The RowColumnHeader.Text property defines the text displayed in the row/column header.

The RowColumnHeader.ImageHAlign and RowColumnHeader.ImageVAlign properties are used to align the row/column header graphic component.


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