Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

TextHAlign Property, SftTreeRowHeader Object

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

Syntax

Get

VB.NETStyle = object.TextHAlign As SftTreeHAlignDefaultConstants
VBStyle = object.TextHAlign As SftTreeHAlignDefaultConstants
C#.NETSftTreeHAlignDefaultConstants Style = object.TextHAlign;
VC++enum SftTreeHAlignDefaultConstants Style = object->TextHAlign;
enum SftTreeHAlignDefaultConstants Style = object->GetTextHAlign();
CHRESULT object->get_TextHAlign(enum SftTreeHAlignDefaultConstants* Style);

Put

VB.NETobject.TextHAlign = Style As SftTreeHAlignDefaultConstants
VBobject.TextHAlign = Style As SftTreeHAlignDefaultConstants
C#.NETSftTreeHAlignDefaultConstants object.TextHAlign = Style;
VC++enum SftTreeHAlignDefaultConstants object->TextHAlign = Style;
void object->PutTextHAlign(enum SftTreeHAlignDefaultConstants Style);
CHRESULT object->put_TextHAlign(enum SftTreeHAlignDefaultConstants Style);

object

A SftTreeRowHeader object.

Style

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

NameValueDescription
halignSftTreeDefault-1The text is aligned as defined using the default settings for all row headers (see RowHeaders.TextHAlign).
halignSftTreeDefaultLeft0The text and graphic component are left aligned.
halignSftTreeDefaultCenter1The text and graphic component are centered.
halignSftTreeDefaultRight2The 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.

See Also SftTreeRowHeader Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.