Defines the horizontal alignment of the graphic in this cell.
Get
| C# | SftTreeHAlignConstants Style = object.ImageHAlign; |
| VB.NET | Style = object.ImageHAlign As SftTreeHAlignConstants |
| C++ | enum SftTreeHAlignConstants Style = object->ImageHAlign; enum SftTreeHAlignConstants Style = object->GetImageHAlign(); |
| C | HRESULT object->get_ImageHAlign(enum SftTreeHAlignConstants* Style); |
| VB | Style = object.ImageHAlign As SftTreeHAlignConstants |
Put
| C# | SftTreeHAlignConstants object.ImageHAlign = Style; |
| VB.NET | object.ImageHAlign = Style As SftTreeHAlignConstants |
| C++ | enum SftTreeHAlignConstants object->ImageHAlign = Style; void object->PutImageHAlign(enum SftTreeHAlignConstants Style); |
| C | HRESULT object->put_ImageHAlign(enum SftTreeHAlignConstants Style); |
| VB | object.ImageHAlign = Style As SftTreeHAlignConstants |
object
A SftTreeCell object.
Style
Defines the horizontal alignment of the graphic in this cell.
| Name | Value | Description |
|---|---|---|
| halignSftTreeLeft | 0 | The graphic is on the left of the cell text. |
| halignSftTreeCenter | 1 | The graphic is centered in the cell. |
| halignSftTreeRight | 2 | The graphic is on the right of the cell text. |
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