Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

RowPictureAlign Property, SftTree Object

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

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.ImageHAlign and RowHeader.ImageVAlign instead

Syntax

Get

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

Put

VB.NETobject.set_RowPictureAlign(ByVal ItemIndex As Integer, ByVal Align As SftTreeAlignConstants)
VBobject.RowPictureAlign(ByVal ItemIndex As Long) = Align As SftTreeAlignConstants
C#.NETvoid object.set_RowPictureAlign(int ItemIndex, SftTreeAlignConstants Align);
VC++enum SftTreeAlignConstants object->RowPictureAlign[long ItemIndex] = Align;
void object->PutRowPictureAlign(long ItemIndex, enum SftTreeAlignConstants Align);
CHRESULT object->put_RowPictureAlign(long ItemIndex, enum SftTreeAlignConstants Align);

object

A SftTree object.

ItemIndex

The zero-based item index.

Align

Defines the position of the graphic 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 graphic is on the left of the row header text. If no horizontal alignment value is specified, this is the default.
alignSftTreeCenter1The graphic is centered in the row header. The row header text is not displayed.
alignSftTreeRight2The graphic is on the right of the row header text.
Vertical AlignmentValueDescription
alignSftTreeVCenter16The graphic is vertically centered. If no vertical alignment value is specified, this is the default.
alignSftTreeTop32The graphic is aligned with the top of the available area.
alignSftTreeBottom64The graphic is aligned with the bottom of the available area.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.ImageHAlign and RowHeader.ImageVAlign instead

The RowPictureAlign property defines the position of the graphic displayed in an item's row header.

Row header graphics are defined using the RowHeader.Image property.

See Also SftTree Object | Object Hierarchy


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