SpreadsheetGear 2023
HAlign Enumeration


SpreadsheetGear Namespace : HAlign Enumeration
Specifies the horizontal alignment of a cell or object.
Syntax
'Declaration
 
Public Enum HAlign 
   Inherits System.Enum
'Usage
 
Dim instance As HAlign
public enum HAlign : System.Enum 
Members
MemberDescription
CenterSpedifies that the text should be centered.
CenterAcrossSelectionText is centered across empty cells in the selection without merging the cells.
DistributedSpecifies that text should wrap and be aligned to form straight edges on the left and right, including the last line.
FillSpecifies that the text will be repeated to fill the cell.
GeneralSpecifies that text is left justified, numbers (including dates and times) are right justified, and logical values are centered.
JustifySpecifies that text should wrap and be aligned to form straight edges on the left and right, except for the last line which is left justified.
LeftSpedifies left justification.
RightSpedifies right justification.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         SpreadsheetGear.HAlign

Requirements

Target Platforms: 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

SpreadsheetGear Namespace