Xceed Workbooks for .NET v1.4 Documentation
HorizontalAlignment Enumeration


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace : HorizontalAlignment Enumeration
Specifies the types of horizontal alignments possible for a cell.
Syntax
'Declaration

 

Public Enum HorizontalAlignment 

   Inherits System.Enum
'Usage

 

Dim instance As HorizontalAlignment
public enum HorizontalAlignment : System.Enum 
Members
MemberDescription
CenterThe content will be aligned to the center of the cell.
CenterAcrossSelectionThe content will be centered within the selection (which is a cell, for now).
DistributedThe text will be centered but will also be aligned with the left and right side of the cell when possible.
FillThe content will be duplicated to fill the cell’s width.
GeneralThe 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.
JustifyThe 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.
LeftThe content will be aligned to the left of the cell.
RightThe content will be aligned to the right of the cell.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Xceed.Workbooks.NET.HorizontalAlignment

Requirements

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

See Also

Reference

Xceed.Workbooks.NET Namespace