Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

RowTextAlign Property, SftTree Object

Defines the position of the text displayed in an item's row header.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.TextHAlign and RowHeader.TextVAlign instead

Syntax

Get

VB.NETAlign = object.get_RowTextAlign(ByVal ItemIndex As Integer) As SftTreeAlignConstants
VBAlign = object.RowTextAlign(ByVal ItemIndex As Long) As SftTreeAlignConstants
C#.NETSftTreeAlignConstants Align = object.get_RowTextAlign(int ItemIndex);
VC++enum SftTreeAlignConstants Align = object->RowTextAlign[long ItemIndex];
enum SftTreeAlignConstants Align = object->GetRowTextAlign(long ItemIndex);
CHRESULT object->get_RowTextAlign(long ItemIndex, enum SftTreeAlignConstants* Align);

Put

VB.NETobject.set_RowTextAlign(ByVal ItemIndex As Integer, ByVal Align As SftTreeAlignConstants)
VBobject.RowTextAlign(ByVal ItemIndex As Long) = Align As SftTreeAlignConstants
C#.NETvoid object.set_RowTextAlign(int ItemIndex, SftTreeAlignConstants Align);
VC++enum SftTreeAlignConstants object->RowTextAlign[long ItemIndex] = Align;
void object->PutRowTextAlign(long ItemIndex, enum SftTreeAlignConstants Align);
CHRESULT object->put_RowTextAlign(long ItemIndex, enum SftTreeAlignConstants Align);

object

A SftTree object.

ItemIndex

The zero-based item index.

Align

Defines the position of the text displayed in the item's row header.

One value of each of the following tables can be combined and used as Align value:

Horizontal AlignmentValueDescription
alignSftTreeLeft0The text and graphic are left aligned within the available area. If no horizontal alignment value is specified, this is the default.
alignSftTreeCenter1The text and graphic are centered within the available area.
alignSftTreeRight2The text and graphic are right aligned within the available area.
Vertical AlignmentValueDescription
alignSftTreeVCenter16The text and graphic are vertically centered. If no vertical alignment value is specified, this is the default.
alignSftTreeTop32The text and graphic are aligned with the top of the available area.
alignSftTreeBottom64The text and graphic are aligned with the bottom of the available area.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.TextHAlign and RowHeader.TextVAlign instead

The RowTextAlign property defines the position of the text displayed in an item's 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 SftTree Object | Object Hierarchy


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