Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CellPictureAlign Property, SftTree Object

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

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

Syntax

Get

VB.NETAlign = object.get_CellPictureAlign(ByVal ItemIndex As Integer, ByVal ColIndex As Short) As SftTreeAlignConstants
VBAlign = object.CellPictureAlign(ByVal ItemIndex As Long, ByVal ColIndex As Integer) As SftTreeAlignConstants
C#.NETSftTreeAlignConstants Align = object.get_CellPictureAlign(int ItemIndex, short ColIndex);
VC++enum SftTreeAlignConstants Align = object->CellPictureAlign[long ItemIndex][short ColIndex];
enum SftTreeAlignConstants Align = object->GetCellPictureAlign(long ItemIndex, short ColIndex);
CHRESULT object->get_CellPictureAlign(long ItemIndex, short ColIndex, enum SftTreeAlignConstants* Align);

Put

VB.NETobject.set_CellPictureAlign(ByVal ItemIndex As Integer, ByVal ColIndex As Short, ByVal Align As SftTreeAlignConstants)
VBobject.CellPictureAlign(ByVal ItemIndex As Long, ByVal ColIndex As Integer) = Align As SftTreeAlignConstants
C#.NETvoid object.set_CellPictureAlign(int ItemIndex, short ColIndex, SftTreeAlignConstants Align);
VC++enum SftTreeAlignConstants object->CellPictureAlign[long ItemIndex][short ColIndex] = Align;
void object->PutCellPictureAlign(long ItemIndex, short ColIndex, enum SftTreeAlignConstants Align);
CHRESULT object->put_CellPictureAlign(long ItemIndex, short ColIndex, enum SftTreeAlignConstants Align);

object

A SftTree object.

ItemIndex

The zero-based item index. The combination of ItemIndex and ColIndex describes an individual cell.

ColIndex

The zero-based column number. The combination of ItemIndex and ColIndex describes an individual cell.

Align

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

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

The CellPictureAlign property defines the position of the graphic displayed in an item's cell.

The cell graphic is defined using the Cell.Image property.

See Also SftTree Object | Object Hierarchy


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