Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / HorizontalAlignment Enumeration
In This Topic
    HorizontalAlignment Enumeration
    In This Topic
    Specifies the horizontal alignment of a cell or object.
    Members
    MemberDescription
    CenterSpedifies that the text should be centered.
    CenterContinuousSpecifies 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.
    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

    java.lang.Object
       java.lang.Enum
          com.grapecity.documents.excel.HorizontalAlignment

    See Also