'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 aligned to the center of the cell. |
CenterAcrossSelection | The content will be centered within the selection (which is a cell, for now). |
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 right and Boolean will be aligned to the center of the cell. |
Justify | The text will be aligned with the left and right sides of a 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 of the cell. |
Right | The content will be aligned to the right 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