SftTree/OCX 7.0

SftTreeRowColumnHeader.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 SftTreeHAlignConstants

VB

Style = object.TextHAlign  As SftTreeHAlignConstants

C#.NET

SftTreeHAlignConstants Style = object.TextHAlign;

VC++

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

C

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

Delphi

Style := object.TextHAlign  : TOleEnum;

Put

VB.NET

object.TextHAlign = Style  As SftTreeHAlignConstants

VB

object.TextHAlign = Style  As SftTreeHAlignConstants

C#.NET

SftTreeHAlignConstants object.TextHAlign = Style;

VC++

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

C

HRESULT object->put_TextHAlign(enum SftTreeHAlignConstants Style);

Delphi

object.TextHAlign := Style  : TOleEnum;

object

A SftTreeRowColumnHeader object.

Style

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

Name

Value

Description

halignSftTreeLeft

0

The text and graphic component are left aligned.

halignSftTreeCenter

1

The text and graphic component are centered.

halignSftTreeRight

2

The text and graphic component are right aligned.

Comments

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

The RowColumnHeader.Text property can be used to define the text displayed in the row/column header.

See Also  SftTreeRowColumnHeader Object | Object Hierarchy


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