Spread Windows Forms 13.0 Product Documentation
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / HorizontalAlignment Enumeration


In This Topic
    HorizontalAlignment Enumeration
    In This Topic
    Enum the horizontal alignment of a cell or object.
    Syntax
    'Declaration
     
    Public Enum HorizontalAlignment 
       Inherits System.Enum
    'Usage
     
    Dim instance As HorizontalAlignment
    public enum HorizontalAlignment : System.Enum 
    Members
    MemberDescription
    CenterSpedifies that the text should be centered.
    CenterAcrossSelectionThe horizontal alignment is centered across multiple cells.The information about how many cells to span is expressed in the Sheet Part, in the row of the cell in question. For each cell that is spanned in the alignment, a cell element needs to be written out, with the same style Id which references the centerContinuous alignment.
    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
             GrapeCity.Spreadsheet.HorizontalAlignment

    Requirements

    Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

    See Also