SftBox/OCX 4.5

SftBoxHeader.TextHAlign Property

Softel vdm, Inc.

Defines the horizontal alignment of the text in this 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 SftBoxHeader object.

Style

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

Name

Value

Description

halignSftBoxLeft

0

The column header text is left aligned.

halignSftBoxCenter

1

The column header text is centered in the cell.

halignSftBoxRight

2

The column header text is right aligned.

Comments

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

The Header.TextVAlign property is used to define the vertical alignment of the text in this column header.

The Header.ImageHAlign and Header.ImageVAlign properties are used to align the column header graphic component.


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