Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ColumnPictureAlign Property, SftTree Object

Defines the position of the graphic displayed in the specified column header.

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

Syntax

Get

VB.NETAlign = object.get_ColumnPictureAlign(ByVal ColIndex As Short) As SftTreeAlignConstants
VBAlign = object.ColumnPictureAlign(ByVal ColIndex As Integer) As SftTreeAlignConstants
C#.NETSftTreeAlignConstants Align = object.get_ColumnPictureAlign(short ColIndex);
VC++enum SftTreeAlignConstants Align = object->ColumnPictureAlign[short ColIndex];
enum SftTreeAlignConstants Align = object->GetColumnPictureAlign(short ColIndex);
CHRESULT object->get_ColumnPictureAlign(short ColIndex, enum SftTreeAlignConstants* Align);

Put

VB.NETobject.set_ColumnPictureAlign(ByVal ColIndex As Short, ByVal Align As SftTreeAlignConstants)
VBobject.ColumnPictureAlign(ByVal ColIndex As Integer) = Align As SftTreeAlignConstants
C#.NETvoid object.set_ColumnPictureAlign(short ColIndex, SftTreeAlignConstants Align);
VC++enum SftTreeAlignConstants object->ColumnPictureAlign[short ColIndex] = Align;
void object->PutColumnPictureAlign(short ColIndex, enum SftTreeAlignConstants Align);
CHRESULT object->put_ColumnPictureAlign(short ColIndex, enum SftTreeAlignConstants Align);

object

A SftTree object.

ColIndex

The zero-based column number.

Align

Defines the position of the graphic displayed in the specified column 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 column header text. If no horizontal alignment value is specified, this is the default.
alignSftTreeCenter1The graphic is centered in the column header. The column header text is not displayed.
alignSftTreeRight2The graphic is on the right of the column 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 Header.ImageHAlign and Header.ImageVAlign instead

The ColumnPictureAlign property defines the position of the graphic displayed in the specified column header.

The column header graphic is defined using the Header.Image property.

See Also SftTree Object | Object Hierarchy


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