SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the horizontal alignment of the text in this cell.
Get
VB.NET | Style = object.TextHAlign As SftBoxHAlignDefaultConstants |
VB | Style = object.TextHAlign As SftBoxHAlignDefaultConstants |
C#.NET | SftBoxHAlignDefaultConstants Style = object.TextHAlign; |
VC++ | enum SftBoxHAlignDefaultConstants Style = object->TextHAlign; enum SftBoxHAlignDefaultConstants Style = object->GetTextHAlign(); |
C | HRESULT object->get_TextHAlign(enum SftBoxHAlignDefaultConstants* Style); |
Put
VB.NET | object.TextHAlign = Style As SftBoxHAlignDefaultConstants |
VB | object.TextHAlign = Style As SftBoxHAlignDefaultConstants |
C#.NET | SftBoxHAlignDefaultConstants object.TextHAlign = Style; |
VC++ | enum SftBoxHAlignDefaultConstants object->TextHAlign = Style; void object->PutTextHAlign(enum SftBoxHAlignDefaultConstants Style); |
C | HRESULT object->put_TextHAlign(enum SftBoxHAlignDefaultConstants Style); |
object
Style
Defines the horizontal alignment of the text in this cell.
Name | Value | Description |
---|---|---|
halignSftBoxDefault | -1 | The text is aligned as defined using the default settings for this cell's column (see Column.CellHAlign). |
halignSftBoxDefaultLeft | 0 | The cell text is left aligned. |
halignSftBoxDefaultCenter | 1 | The cell text is centered in the cell. |
halignSftBoxDefaultRight | 2 | The cell text is right aligned. |
The TextHAlign property defines the horizontal alignment of the text in this cell.
The Cell.TextVAlign property is used to define the vertical alignment of the text in this cell.
The TextHAlign property determines the position of the cell text and graphic, defined using the Cell.Text and Cell.Image properties. It overrides the column's default alignment defined using the Column.CellHAlign property.
See Also SftBoxCell Object | Object Hierarchy