Description
Represents the types of horizontal alignment.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public enum TypeOfHAlignment
Public Enumeration TypeOfHAlignment
public enum class TypeOfHAlignment

Members

MemberValueDescription
General0
Aligns data depending on the data type (text, number, etc.)
Left1
Left alignment.
Center2
Center alignment.
Right3
Right alignment.
Fill4
Fill alignment repeats cell data to fill the whole ExcelCell.
Justify5
Justify alignment.
CenterAcross6
Centered across selection. Multiple cells can be selected but only one should have value for this alignment to have effect.
Distributed7
Distributed alignment.

See Also