'Declaration
Public Enum HorizontalAlignment Inherits System.Enum
'Usage
Dim instance As HorizontalAlignment
public enum HorizontalAlignment : System.Enum
'Declaration
Public Enum HorizontalAlignment Inherits System.Enum
'Usage
Dim instance As HorizontalAlignment
public enum HorizontalAlignment : System.Enum
Member | Description |
---|---|
Center | The content will be centered in the middle of the Cell. |
CenterAcrossSelection | The content will be centered within the selection (which is a Cell, by default). |
Distributed | The text will be centered, but will also be aligned with the left and right side of the Cell when possible. |
Fill | The content will be duplicated to fill the Cell’s width. |
General | The default alignment. Texts will be aligned to the left, Numbers, Dates & Times will be aligned to the right and Boolean values will be centered in the middle of the Cell. |
Justify | The text will be aligned with the left and right sides of the Cell simultaneously, except for the last line, which will be aligned to the left side only. |
Left | The content will be aligned to the left side of the Cell. |
Right | The content will be aligned to the right side of the Cell. |
System.Object
System.ValueType
System.Enum
Xceed.Workbooks.NET.HorizontalAlignment
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2