Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CellPictureAlign Property, VirtualItem Object

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

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

Syntax

Put

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

object

A VirtItem object.

ColIndex

The zero-based column number. The combination of ColIndex and the VirtualItem event's RowIndex parameter 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 VirtualItem.Item.Cell.ImageHAlign and VirtualItem.Item.Cell.ImageVAlign instead

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

The VirtualItem.CellPictureAlign property is used while handling a VirtualItem event to define the position of the graphic for the cell described by ColIndex and the VirtualItem event's RowIndex parameter.

See Also VirtualItem Object | Object Hierarchy


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.