HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

ImageHAlign Property, SftTreeCell Object

Defines the horizontal alignment of the graphic in this cell.

Syntax

Get

VB.NETStyle = object.ImageHAlign As SftTreeHAlignConstants
VBStyle = object.ImageHAlign As SftTreeHAlignConstants
C#.NETSftTreeHAlignConstants Style = object.ImageHAlign;
VC++enum SftTreeHAlignConstants Style = object->ImageHAlign;
enum SftTreeHAlignConstants Style = object->GetImageHAlign();
CHRESULT object->get_ImageHAlign(enum SftTreeHAlignConstants* Style);

Put

VB.NETobject.ImageHAlign = Style As SftTreeHAlignConstants
VBobject.ImageHAlign = Style As SftTreeHAlignConstants
C#.NETSftTreeHAlignConstants object.ImageHAlign = Style;
VC++enum SftTreeHAlignConstants object->ImageHAlign = Style;
void object->PutImageHAlign(enum SftTreeHAlignConstants Style);
CHRESULT object->put_ImageHAlign(enum SftTreeHAlignConstants Style);

object

A SftTreeCell object.

Style

Defines the horizontal alignment of the graphic in this cell.

NameValueDescription
halignSftTreeLeft0The graphic is on the left of the cell text.
halignSftTreeCenter1The graphic is centered in the cell.
halignSftTreeRight2The graphic is on the right of the cell text.

Comments

The ImageHAlign property defines the horizontal alignment of the graphic in this cell.

The Cell.ImageVAlign property is used to define the vertical alignment of the graphic in this cell. The cell graphic is defined using the Cell.Image property.

See Also SftTreeCell Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.