Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ItemPictureAlign Property, SftTree Object

Defines whether item graphics are aligned with higher level cells.

Deprecated - Provided for compatibility with earlier versions only - Use Items.ItemImageAlign instead

Syntax

Get

VB.NETBoolean = object.ItemPictureAlign As Boolean
VBBoolean = object.ItemPictureAlign As Boolean
C#.NETbool Boolean = object.ItemPictureAlign;
VC++VARIANT_BOOL Boolean = object->ItemPictureAlign;
VARIANT_BOOL Boolean = object->GetItemPictureAlign();
CHRESULT object->get_ItemPictureAlign(VARIANT_BOOL* Boolean);

Put

VB.NETobject.ItemPictureAlign = Boolean As Boolean
VBobject.ItemPictureAlign = Boolean As Boolean
C#.NETbool object.ItemPictureAlign = Boolean;
VC++VARIANT_BOOL object->ItemPictureAlign = Boolean;
void object->PutItemPictureAlign(VARIANT_BOOL Boolean);
CHRESULT object->put_ItemPictureAlign(VARIANT_BOOL Boolean);

object

A SftTree object.

Boolean

Defines whether item graphics are aligned with higher level cells.

BooleanDescription
TrueItem graphics of items at a lower level are aligned with the cell of the immediate parent level.
FalseItem graphics are not aligned, resulting in a still indented, but narrower look. The width of the indentation is determined by the width of the expand/collapse button bitmaps, the width of the item pictures and the default font used for the tree control.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.ItemImageAlign instead

The ItemPictureAlign property defines whether item graphics are aligned with higher level cells.

In a variable height tree control, item graphics may be of varying widths and heights. If item bitmaps are smaller than the largest item bitmap used, the item bitmaps are horizontally centered within the space available for item bitmaps. This results in (smaller) item bitmaps not aligned with the cells of the parent level.

See Also SftTree Object | Object Hierarchy


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