Defines the horizontal alignment of the graphic in this cell.
Get
| C# | SftBoxHAlignConstants Style = object.ImageHAlign; |
| VB.NET | Style = object.ImageHAlign As SftBoxHAlignConstants |
| C++ | enum SftBoxHAlignConstants Style = object->ImageHAlign; enum SftBoxHAlignConstants Style = object->GetImageHAlign(); |
| C | HRESULT object->get_ImageHAlign(enum SftBoxHAlignConstants* Style); |
Put
| C# | SftBoxHAlignConstants object.ImageHAlign = Style; |
| VB.NET | object.ImageHAlign = Style As SftBoxHAlignConstants |
| C++ | enum SftBoxHAlignConstants object->ImageHAlign = Style; void object->PutImageHAlign(enum SftBoxHAlignConstants Style); |
| C | HRESULT object->put_ImageHAlign(enum SftBoxHAlignConstants Style); |
object
Style
Defines the horizontal alignment of the graphic in this cell.
| Name | Value | Description |
|---|---|---|
| halignSftBoxLeft | 0 | The graphic is to the left of the cell text. |
| halignSftBoxCenter | 1 | The graphic is centered in the cell. |
| halignSftBoxRight | 2 | The graphic is to 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 SftBoxCell Object | Object Hierarchy