Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / HorizontalAlignment Enumeration
In This Topic
    HorizontalAlignment Enumeration
    In This Topic
    Specifies the horizontal alignment of a cell or object.
    Syntax
    public enum HorizontalAlignment : System.Enum 
    Members
    MemberDescription
    Center Spedifies that the text should be centered.
    CenterContinuous Specifies that the 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.
    Distributed Specifies that text should wrap and be aligned to form straight edges on the left and right, including the last line.
    Fill Specifies that the text will be repeated to fill the cell.
    General Specifies that text is left justified, numbers (including dates and times) are right justified, and logical values are centered.
    Justify Specifies 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.
    Left Spedifies left justification.
    Right Spedifies right justification.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Documents.Excel.HorizontalAlignment

    See Also