Defines the default horizontal alignment of cell contents in this column.
Get
| C# | SftBoxHAlignConstants Style = object.CellHAlign; |
| VB.NET | Style = object.CellHAlign As SftBoxHAlignConstants |
| C++ | enum SftBoxHAlignConstants Style = object->CellHAlign; enum SftBoxHAlignConstants Style = object->GetCellHAlign(); |
| C | HRESULT object->get_CellHAlign(enum SftBoxHAlignConstants* Style); |
| VB | Style = object.CellHAlign As SftBoxHAlignConstants |
Put
| C# | SftBoxHAlignConstants object.CellHAlign = Style; |
| VB.NET | object.CellHAlign = Style As SftBoxHAlignConstants |
| C++ | enum SftBoxHAlignConstants object->CellHAlign = Style; void object->PutCellHAlign(enum SftBoxHAlignConstants Style); |
| C | HRESULT object->put_CellHAlign(enum SftBoxHAlignConstants Style); |
| VB | object.CellHAlign = Style As SftBoxHAlignConstants |
object
Style
Defines the default horizontal alignment of cell contents in this column.
| Name | Value | Description |
|---|---|---|
| halignSftBoxLeft | 0 | The text and graphic component are left aligned. |
| halignSftBoxCenter | 1 | The text and graphic component are centered. |
| halignSftBoxRight | 2 | The text and graphic component are right aligned. |
The CellHAlign property defines the default horizontal alignment of cell contents in this column.
The alignment applies to all cells in the column specified. Individual cells can override the defined default alignment using the Cell.TextHAlign, Cell.TextVAlign, Cell.ImageHAlign and Cell.ImageVAlign properties.
See Also SftBoxColumn Object | Object Hierarchy